The sides of a triangle are in the ratio 3:4:5. If the shortest side measures 9 cm, what is the perimeter of the triangle ?