The formula for charges for the Sun Spa can be written as:
S = 125 + 10hS=125+10h
Where SS is the total charges for the Sun Spa and hh is the number of hours used.
The formula for charges for the Moon Spa can be written as:
M = 230 + 7hM=230+7h
Where MM is the total charges for the Moon Spa and hh is the number of hours used.
These charges would be equal when S = MS=M or when
125 + 10h = 230 + 7h125+10h=230+7h
We can solve for hh to find the number of hours when these are equal:
125 + 10h - color(blue)(125) - color(red)(7h) = 230 + 7h - color(blue)(125) - color(red)(7h)125+10h−125−7h=230+7h−125−7h
125 - color(blue)(125) + 10h - color(red)(7h) = 230 - color(blue)(125) + 7h - color(red)(7h)125−125+10h−7h=230−125+7h−7h
0 + (10 - 7)h = 105 + 00+(10−7)h=105+0
3h = 1053h=105
(3h)/color(red)(3) = 105/color(red)(3)3h3=1053
(color(red)(cancel(color(black)(3)))h)/cancel(color(red)(3)) = 35
h = 35
For 35 hours the two spas would charge the same amount.