We can model the situation using a system of linear equations. Let a be the price of the adults' tickets and s the price that the students have to pay.
Then we have

so we have two equaions. If we solve for a in the second equation and replace it on the first one we have

So the price of the tickets to the students is 9 dlls, and the price for the adult's ticket is

it's 3 dlls.
So, the last part says that, if we represent the numbers of tickets that were sold to the students by x, then

then, they sold 10 tickets to the students.