It costs $10 to get into a carnival. It costs an
additional $2 for each ride you go on. If you paid
a total of $36 at the carnival, how many rides did
you go on?