Let's assume "a" the number of adult's tickets sold and "s" the number of student's ticket sold.
We are told that in total 180 tickets were sold, we can write this equation as:
eq. 1) a + s = 180
the equation that describes the total they made from selling these tickets can be expressed as:
eq. 2) 5a + 4s = 798
Using equation 1, we can solve for either variable. Let's solve for a by subtracting s on both side:
eq. 3) a = 180 - s
We can use the new equation (eq. 3) and substitute that for a in eq. 2. The equation becomes:
eq. 4) 5(180 - s) + 4s = 798
900 - 5s + 4s = 798
900 - s = 798
s = 102 (102 student tickets were sold out of the total 180 tickets sold)
Hope this helps
David T.
Thanks, greatly apprciated.03/24/21