For this case, the first thing we are going to do is define variables.
 We have then:
 x: number of hours it takes Homer to finish work alone.
 They worked together for 3 hours until Homer had to go home:
 [tex]3 \frac{1}{x} + 3 \frac{1}{x-1}[/tex]
 Mike finished the job working by himself in an additional 5 hours:
 [tex]3 \frac{1}{x} + 3 \frac{1}{x-1} + 5 \frac{1}{x-1} = 1
[/tex]
 From here, we must clear the value of x.
 We then have to multiply both sides by x (x-1):
 [tex]3 (x-1) + 3x + 5x = x (x-1)
[/tex]
 Rewriting we have:
 [tex]3x - 3 + 3x + 5x = x ^ 2 - x
x ^ 2 - 12x + 3 = 0[/tex]
 The solutions to the equation are:
 [tex]x1 = 0.25 (discarded)
x2 = 11.75[/tex]
 Answer:
 it has taken Homer to fix the deck himself about:
 x2 = 11.75 hours