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