You are going to a movie with some friends. Each person pays $6. The total cost for you and your friends was $36. How many people went to the movie?

Write the equation for the cost of the movies, then solve for the number of people that went to the movie.