If the perimeters of two similar triangles is 30 cm and 24 cm and the length of one side of the first triangle is 12 cm, find the length of the corresponding side of the second triangle.