Since the expression 5p represents the total price of buying 5 movie tickets, divide the expression 5p by 5 to find the price of a single ticket:
Then, the price of a ticket is p.
Therefore, the variable p represents the ticket price, while the number 5 represents the number of tickets.