Answer:
<em>a. 180 votes were for blue</em>
<em>b. 60 votes were for green </em>
Step-by-step explanation:
<u>Fractions</u>
It's known 5/8 of the votes of a school-wide election were for painting the school blue. Suppose there were x voters in school.
Since 5/8 were for blue, then

Were for the rest of the colors. It's also known 5/9 of the remaining votes were for green, thus

of the remaining votes were for red.
The votes for red are:

of the total voters.
We know these were 48 votes, thus


There were 288 voters in school.
a. 5/8 were for blue, that is:

180 votes were for blue
b. 288-180 = 108 votes were for others than blue, and 5/9 of them were for green:

60 votes were for green and 108-60=48 votes were for red (as expected)