Answer:
5 oranges and 10 apples were sold
Explanation:
Let x be the number of oranges sold and y be the number of apples sold
Since 15 fruits were sold in all we get the following equation
x + y = 15 ....................[1]
Each orange costs $1 so if x oranges were sold that would fetch x dollars in sales = x dollars in sales
Each apple costs $2 so if y apples were sold, that would result in 2y dollars in sales
Total sales in $ = x + 2y and we know this is $25 so we get the second equation as
x + 2y = 25 ..................[2]
Look at the two equations. The coefficient of the x term is the same. We can eliminate the x term by subtracting equation [1] from equation [2] as follows:
x + 2y = 25
-
x + y = 15
-----------------
y = 10
(2y - y = y and 25-15 = 10)
Now that we know y = 10, we can use equation [1] to find x
x + 10 = 15
which makes x = 5
ANSWER
5 oranges and 10 apples were sold