Answer:
We are required to write a problem about 40 apples and 17 pears.
Let us consider the problem,
'Greg bought 40 apples, 25 mangoes and 17 pears for the party. If the price of each fruit is $2, $5 and $1.5. How much did he spend on the fruits?'
On solving the problem, we have,
We have,
The number of apples, mangoes and pears are 40, 25 and 17 each.
The cost of apples, mangoes and pear is $2, $5 and $1.5 per fruit.
So, the total cost of the fruits = 40×2 +25×5 + 17×1.5 = $230.5
Thus, the total amount spent by Greg is $230.5