The perimeters of two similar right triangles have a ratio of 3 to 5. If the height of the larger triangle is 12 meters, what is the height of the
smaller triangle?