Pre algebra math using linear equation ax+b=c to solve

Pre algebra math using linear equation ax+b=c to solve

Keith rented a truck for one day. There was a base fee of 

, and there was an additional charge of 

 cents for each mile driven. Keith had to pay 

 when he returned the truck. For how many miles did he drive the truck?