For a new customer a video store charges $10 for rental card plus $2 per movie. If a new customer is charged $22 how many movies did they rent