You want to know the number of games you can play at the carnival with $45. It costs $10 to get into the carnival and $7 for one game. Write and solve an equation to find out how many games you can play.​