Blue:Yellow = 7:9
Set up a proportion:
7/9 = 28/x ---->> cross multiply
252 = 7x ------>> divide by 7 on each side
x = 36 yellow marbles
To check:
You multiply 7 by 4 to get 28, so in order for the answer to be true, the same has to be done to the bottom, too.
9 times 4 = 36 (correct)