A crate obtained apples and pears. There were 29 more apples than pears at first. After 1/3 of the apples were removed from the crate, there were 5 more apples than pears. What was the total number of apples and pears in the crate at first?
a = p + 29
remove 1/3 of the apples, leaving 2/3
2/3 a = p+ 5 Sub in the red equation for a
2/3 (p+29) = p+5
p = 43 then a = 72
1/3 of the apples = n + 29
After removing 1/3 of the apples remaining apples
= (n + 29) - (n + 29)/3 = 2 (x + 29)/3
=> After removing 1/3 of the apples the remaining apples
= \({2n + 58 \over 3}\)
Given after removing 1/3 of the apples from the crate
there were 5 more apples than pears.
So, 2n+58/3 = n + 5
=> 2n + 58 = 3n + 15
=> 3n - 2n = 58 - 15
=> n = 43
n + 29 = 43 + 29 = 72
72 apples and 43 pears at first.