Divide 294 metres of cloth into three lengths in the ratio 2:3:9. How many metres will the longest piece measure?

Let the longest piece be 9x.

Then we equate total length
294=2x+3x+9x=14x
solve for x and hence calculate the longest piece equal to 9x.