Given:
The total number of students, T=28.
The number of girls is 4 more than the number of boys.
Let y be the number of girls and x be the number of boys.
Therefore,
[tex]y=4+x[/tex]Hence,
[tex]x-y=-4[/tex]The expression for the total number of students can be written as,
[tex]T=x+y[/tex]Put T=28 in the above equation.
[tex]28=x+y[/tex]Therefore, the system of equations to find the number of girls and the number of boys is,
[tex]\begin{gathered} x-y=-4\text{ ---(1)} \\ x+y=28\text{ ----(2)} \end{gathered}[/tex]