There were some jelly beans in a jar. 1/3 of them were purple, 2/9 of them were yellow and the rest were orange. There were 312 orange jelly beans. How many jelly beans are there altogether?
1/3 + 2/9 = 3/9 + 2/9 = 5/9
So 4/9 of the beans are orange.
(4/9)(total) = 312
total = (9/4)(312) = 702
.