A piece of wood is cut into 3 pieces in the ratio of 5:4:3,if the length of the shortest is 2cm how long is the piece of wood

just multiply each value by 2/3 to get

10/3 : 8/3 : 2
so the length is
10/3 + 8/3 + 2 = 8 cm

or, as a ratio
x/2 = (5+4+3)/3
x/2 = 4
x = 8