Find the longest side of a triangle having perimeter 20 cm and sides in the ratio of 2 : 3 : 5.
The sides of a triangle are in the ratio 3:2:4. If the perimeter of the triangle is 36 cm, then the length of its longest side is ___ cm.