Max is taking a cab in New York City. The fare is calculated as a base charge of $3.00 plus an additional $2.00 per mile traveled. It is also customary to leave a $2 tip.If Max wants to spend exactly $20, how many miles can he travel?