David had a number of mangoes. He could pack all his mangoes equally into 20 boxes. If he packed 5 fewer mangoes in each box, he would be able to pack all his mangoes equally into 30 boxes. How many mangoes did David have altogether?
|
30 boxes |
20 boxes |
Number |
30 |
20 |
Value |
1 u |
1 u + 5 |
Total value |
30 u |
20 u + 100 |
Number of mangoes if they were packed into 30 boxes
= 30 x 1 u
= 30 u
Number of mangoes if they were packed into 20 boxes
= 20(1 u + 5)
= 20 u + 100
30 u = 20 u + 100
30 u - 20 u = 100
10 u = 100
1 u = 100 ÷ 10 = 10
Number of mangoes that David had
= 30 u
= 30 x 10
= 300
Answer(s): 300