can anyone please solve this question using linear function?

Answer:
Step-by-step explanation:
Let Terri spent the 'x' hours in the river,
Per hour rental charged by Timmy's Tubes = [tex]\frac{\text{Rental charged}}{\text{Hours spent}}[/tex]
= [tex]\frac{18.75}{2.5}[/tex]
= $7.5
Charges for 'x' hours = $7.5x
Therefore, function that defines the rental of Timmy's tube will be,
f(x) = 7.5x
Another company Fred's float charges a base fee $2 plus $6.25 per hours.
For 'x' hours Fred's float will charge = 6.25x + 2
And the function that defines the charges will be,
g(x) = 6.25x + 2
1). If x = 1.5 hours,
Rental charged by Timmy's tube,
f(1.5) = 7.5(1.5)
= $11.25
Rental charged by Fred's float,
g(1.5) = 6.25(1.5) + 2
= $11.375
2). If Terri has $12 to spend,
For f(x) = 12,
12 = 7.5x
x = 1.6 hours
For g(x) = 12
12 = 6.25x + 2
10 = 6.25x
x = 1.6 hours
Therefore, both the companies charge the same for 1.6 hors.
Terri can opt any company to spend $12.