Since the form of the linear equation is

m is the rate of change
b is the initial amount
Since the cost of the rental car is $25 and $0.15 for each mile, then
The initial amount is 25 dollars
b = 25
The rate of change is 0.15 dollars per mile
m = 0.15
Then the equation is

T.C is the total cost
x is the number of miles
Since the given total cost is $71.80
Then T.C = 71.8

Subtract 25 from both sides

Divide both sides by 0.15

The car was driven for 312 miles
The answer is the last option