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.
Im assuming by 5-.8, you mean 5/8ths and by 1-.4, you mean 1/4th...
x=5/8+1/4
x=5/8+2/8
x=7/8
They ate 7/8 together
Circumference of a circle = 2πr
Circumference of the whole circle= 2π(30) = 60π
360 - 90 = 270
Length XPY = 270/360 x 60π = 45π
Answer: 45π m