Because both parts of the triangle are right triangles, you can solve this one by using the Pythagorean theorem (a2 + b2 = c2). First, start with the triangle on the left:
(3m)2 + (3m)2 = c2
9m2 + 9m2 = c2
18m2 = c2
(3 square root2) m = c
The line segment AB = 18m.
Now use the same method to figure out the hypotenuse
of the triangle on the right:
(3m)2 + (4m)2 = c2
9m2 + 16m2 = c2
25m2 = c2
5m = c
The line segment BC = 25 m.
Now add AB+BC+AC:
(3 square root2) m + 5m + 7m = 12m + (3 square root2)
m