You pay $40 each month for satellite TV, plus $3.50 for every movie you purchase. Write and solve an equation to find the number of movies purchased during a month with a total bill of $57.50.