p = purchase price per pineapple
20(p + 1.20) - 25p = 10
Antonio purchased 25 pineapples to sell in his shop.
He offered each of them for sale at $1.20 more than he paid for them.
However, 5 of the pineapples went bad and could not be sold.
Overall, his total profit was $10.
What price did he originally pay for each of the pineapples?