A vegetable shop is selling tomatoes, carrots and potatoes. The ratio of the weight of tomatoes sold to the weight of carrots sold is 5:7. The ratio of the weight of tomatoes sold to the weight of potatoes sold is 4:5.

(a) What’s the ratio of the weight of tomatoes sold to
the weight carrots sold to the weight of potatoes sold?

(b) If 240 pounds of tomatoes are sold, what’s the total number of all the vegetables sold?