Answer:
![240 =5x +115](https://tex.z-dn.net/?f=%20240%20%3D5x%20%2B115)
And we can solve for x in order to find the number hours using to decorate the house.
We can subtract in both sides 115 and we got:
![240-115= 5x](https://tex.z-dn.net/?f=%20240-115%3D%205x)
![125 = 5x](https://tex.z-dn.net/?f=%20125%20%3D%205x)
And now we can divide both sides by 5 and we got:
![x= 25](https://tex.z-dn.net/?f=%20x%3D%2025)
So then the number of hours spent to decorate the house are 25
Step-by-step explanation:
Based on the information given we can model this function with this formula:
![y = mx+b](https://tex.z-dn.net/?f=%20y%20%3D%20mx%2Bb)
Where y represent the total cost paid, m the cost per hour representing the slope and x the number of hours worked and finally b the initial cost for the materials. Then our function is given by:
![240 =5x +115](https://tex.z-dn.net/?f=%20240%20%3D5x%20%2B115)
And we can solve for x in order to find the number hours using to decorate the house.
We can subtract in both sides 115 and we got:
![240-115= 5x](https://tex.z-dn.net/?f=%20240-115%3D%205x)
![125 = 5x](https://tex.z-dn.net/?f=%20125%20%3D%205x)
And now we can divide both sides by 5 and we got:
![x= 25](https://tex.z-dn.net/?f=%20x%3D%2025)
So then the number of hours spent to decorate the house are 25