Answer:

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:


And now we can divide both sides by 5 and we got:

So then the number of hours spent to decorate the house are 25
Explanation:
Based on the information given we can model this function with this formula:

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:

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:


And now we can divide both sides by 5 and we got:

So then the number of hours spent to decorate the house are 25