In total 530 tickets
Students tickets cost $3
Adult tickets cost $4
in total receipts were $1740
x= students
y=adults
we can have the next two equations
x+y=530
3x+4y=1740
we can rewrite the first equation
x=530-y
we substitute the equation above in the second equation
[tex]\begin{gathered} 3(530-y)+4y=1740 \\ 1590-3y+4y=1740 \\ y=1740-1590 \\ y=150 \end{gathered}[/tex]then we substitute the value of y in x=530-y
[tex]\begin{gathered} x=530-150 \\ x=380 \end{gathered}[/tex]In total 380 students attended the talent show