Wright and equation.

Frank rented a truck for one day. There was a base fee of $15.95, and there was an additional charge of 99 cents for each mile driven. Frank had to pay $145.64 when he returned the truck. For how many miles did he drive the truck?