Jake paid $13.50 for admission to the county fair and bought 9 tickets to play games. If he spent a total of $36, what is the cost, x, of one ticket? Write an equation to represent the cost of a ticket, x.