Let x represent the amount of adult tickets sold
Let 400-x (or 800-2x) represent the amount of student tickets sold
3x + 800 - 2x = 1050
subtract 800 from both sides of the equation
3x - 2x = 250
x=250, 250 adult tickets were sold.
400x=student tickets=400-250=150 student tickets were sold.
A way to check your answer is to check the revenue.
3(250)=750
2(150)=300
750+300=1050