The greatest common factor 27+36=63 is 9 times 7
I set it up as a ratio with hours on the top and the fraction of the job on the bottom. It looks like this: 5/(2/3) / x/1, because 1 is the whole job if 2/3 is only a fraction of it. Cross multiplying gives you 2/3x = 5. Solving for x gives you that it will take 7.5 hours to complete a whole job if it takes 5 hours to complete 2/3 of it.
The question is worded poorly, but it looks like you have a lever in equilibrium, with a force x at a distance d from the fulcrum, and a force y at a distance L - d from the fulcrum. You already have the equilibrium formula for this situation:
xd = y(L - d)
If you know x, y, and d, you can solve for the length L.
1.) X=-2
2.) 2x-y+4=0
Hope this helps! :))