25% of the apples are sour because 100 - 75 = <<100-75=25>>25
The average price of an apple sold is $.4 because .75(.5) + .25(.1)= .4
He got 100 apples because 40 / .4 = <<40/.4=100>>100
#### 100