PLEASE HELP! (WILL MARK BRAINLIEST.)

The cost to rent a scooter is $24 plus $1.25 per mile traveled on the scooter. Paula rented a scooter and paid a total of $48. How many miles did she ride?

*please provide an explanation! *