I know how to answer the question, I just need help with writing the equation (the first box). Please help ASAP!

Let x be the number of adult tickets sold and 84 - x be the number of children tickets.
105x + 60(84-x) = 7155
Once you find x (number of adult tickets), find the children tickets with 84 - x