The monthly payment for a car lease is $300 for 24 months. The down payment is $1,000. The residual value is $9,000. What is the total cost if the car is purchased at the end of the lease?
A. $17,200
B. $40,700
C. $8,200
D. $16,200