To solve this problem we can find the linear equation that relate the hours and the price.
We know Ja'niya charges $31.25 for 5 hours and $50 for 8 hours.
We call x the hours and y the price, and we have the points (5, 31.25) and (8, 50). The equation is:

To find how much she charges for 3 hours we have to replace x for 3 in the equation above:

So, she charges $18.75 for 3 hours.