Answer:
Hope this helps and have a nice day
Explanation:
Let's denote the total number of boxes the hawker bought as "x".
The cost of each box is R18, so the total cost of buying "x" boxes is 18x.
He sold all but 5 boxes, so he sold (x - 5) boxes at R25 per box. The revenue from selling these boxes is 25 * (x - 5).
The profit is calculated by subtracting the cost from the revenue, so we have:
Profit = Revenue - Cost
155 = 25 * (x - 5) - 18x
Simplifying the equation:
155 = 25x - 125 - 18x
155 + 125 = 25x - 18x
280 = 7x
Dividing both sides by 7:
x = 280 / 7
x = 40
Therefore, the hawker bought 40 boxes of tomatoes.