Hello,
We see that there is the ratio
2:3:4, which let us to conclude the ratio between the shortest and longest side is 2:4 or 1:2, so the longest side is two times bigger than the smallest.
To find the longest side:
12×2=24 cm. As a result, the length of the longest side is 24 cm. Hope it help!