Answer:
Mary has to put 5 oranges back so that the average price of the pieces of fruit that she keeps is 52 cents.
Step-by-step explanation:
From the given information it is clear that
Price of each apple = 40 cents
Price of each orange = 60 cents
Let the number of apple be x and number of oranges be y.
Mary selects a total of 10 apples and oranges from the fruit stand.
[tex]x+y=10[/tex] .... (1)
The average (arithmetic mean) price of the 10 pieces of fruit is 56 cents.
[tex]\frac{40x+60y}{10}=56[/tex]
[tex]4x+6y=56[/tex] .... (2)
On solving (1) and (2), we get
[tex]x=2,y=8[/tex]
Let she put z oranges back so that the average price of the pieces of fruit that she keeps is 52 cents.
[tex]\frac{40(2)+60(8-z)}{10-z}=52[/tex]
On cross multiplication, we get
[tex]80+480-60z=52(10-z)[/tex]
[tex]560-60z=520-52z[/tex]
[tex]560-520=60z-52z[/tex]
[tex]40=8z[/tex]
Divide both sides by 8.
[tex]\frac{40}{8}=z[/tex]
[tex]5=z[/tex]
Therefore, Mary has to put 5 oranges back so that the average price of the pieces of fruit that she keeps is 52 cents.