Answer:
7 hours
Step-by-step explanation:
Given:
From the quantitative question above we can formula an equation with the following constants and variable;
[tex] \sf \text{ \sf total cost} = 12 + 4x[/tex]
Where:
From the question we can get the value;
Total cost = 40
x - unknown
Plotting this in the main formula above:
[tex] \sf \rightarrow 40 = 12 + 4x[/tex]
[tex] \sf \rightarrow 40 - 12= 12 + 4x - 12[/tex]
[tex] \sf \rightarrow \boxed{ \sf 28 = 4x} \rightarrow 4x = 28[/tex]
[tex] \sf \rightarrow \frac{ \cancel{4}x}{ \cancel{4}} = \frac{28}{4} [/tex]
[tex] \sf \boxed{ \boxed{x = 7}}[/tex]
Therefore, he rented his bike for 7 hours
©chibabykalu16