josh buys concert tickets worth $180, he then keeps 2 of the tickets and sells the rest for 9 dollars more, he make a total profit of $36, after selling all the tickets.

what was the original ticket price?
howmuch people bought the ticket?

x = original # of tickets

y = original price
you have 2 equations:
xy = 180
(x-2)(y+9)=180+36
substitute equation 1 into 2 and solve.