The sides of a triangle are in the ratio 2 : 3: 4 and the longest side is 20 centimetres longer than the shortest side. Compute the length of each side.