The total cost (c) in dollars of renting a car for d days is given by the equationc =50 + 10n. If the total cost was $130, for how many days was the car rented?A. 8B. 13C. 3D. 18