Answer:
Fin Lin = Fo Lo Work = Work out where in = input and o = output
Fin / Fo = Lo / Lin = 30 / 60 = 1/2 (input force = 1/2 output force)
Lin + Lo = 3
Lo = 3 - Lin
1/2 = (3 - Lin) / Lin from above
1/2 = 3 / Lin - 1
3 / Lin = 1.5 and Lin = 2
So the input length = 2 m and the output length = 1 m