Let x be the miles driven, and y be the cost, then we can write the following relationship:
In our case, we know that the final cost was y=252.82 and we need to find the miles given by x, then, we have
By moving 20.99 to the left hand side, we have
then, x is given by
then, the answer is 251.98 miles