Given:
Let x be the number of children.
Let y be the number of adults.
In total, there were 277 people.
So,
[tex]x+y=277\ldots\ldots\ldots(1)[/tex]According to the question, the fee of $1.50 for children and $4 for adults and the total fees collected is $828.
So,
[tex]1.5x+4y=828\ldots\ldots\ldots(2)[/tex]Multiply by 4 in equation (1),
[tex]4x+4y=1108\ldots\ldots\ldots(3)[/tex]Subtracting the equation (2) from (3), we get
[tex]\begin{gathered} 2.5x=280_{} \\ x=112 \end{gathered}[/tex]Substitute x=112 in equation (1), we get
[tex]\begin{gathered} 112+y=277 \\ y=165 \end{gathered}[/tex]Thus,
• The number of children is x = 112.
,• The number of adults is y = 165.