The three sides of a triangle are in the ratio 2:4:5. if the shortest side of the triangle is 4 meters long, find the perimeter.