Let the number of student tickets sold be x
Then, amount of money earned from student tickets = $4x
Number of adult tickets sold = 30+x
Then, amount of money earned from adult tickets = $8(30+x) = $(240+8x)
Since,
$4x + $8(30+x) = $840
4x + 240+8x = 840
12x + 240 = 840
12x = 840-240= 600
x= 600/12 = 50
Number of student tickets sold = 50
Therefore,
Number of adult tickets sold = 50+30 = 80
Please mark my answer as brainliest