Phil has budgeted $120 to rent a car during his weeklong vacation. At the rate of $40 for the week plus $0.10 per mile, how many miles can he drive the car and stay within his budget?​