Both the friends stayed for 2 hours. Each one paid $12.
Step-by-step explanation:
Given,
Amount paid by Ronald = $12
Amount paid by Tyler upfront = $4
Amount per hour = $4
Let,
x be the number of hours.
R(x) = 12
T(x) = 4x+4
As both the friends paid same;
T(x) = R(x)
[tex]4x+4=12\\4x=12-4\\4x=8[/tex]
Dividing both sides by 4
[tex]\frac{4x}{4}=\frac{8}{4}\\x=2[/tex]
Putting x=2 in T(x)
T(2) = 4(2) + 4 = 8+4 = 12
Both the friends stayed for 2 hours. Each one paid $12.
Keywords: function, division
Learn more about division at:
#LearnwithBrainly