Let x represents the number of boys' costumes and y represents the number of girls' costume.
Boys' costumes are $9.00 each and girls' costume are $4.50 each
(a) Therefore, the equation describing the scenario is
[tex]9x+4.5y=180[/tex](b) Now, from the above equation,
[tex]\begin{gathered} 4.5y=180-9x \\ y=\frac{180-9x}{4.5} \\ =\frac{9(20-x)}{4.5} \\ =2(20-x) \end{gathered}[/tex]So, the solution for y is
[tex]y=2(20-x)[/tex]