Answer: 19.65 hours
Explanation:
Mike:

Homer:

The each work 7 hours plus Mike works 5 hours alone:

Use quadratic formula to solve for x:

We know that 0.35 cannot be a valid answer since it took at least 12 hours to complete the job.
So, Homer can get 1 job done in 19.65 hours.