To get the perimeter, you add all the sides o the triangles, so the first two sides add up to 40+50 = <<40+50=90>>90 cm.
If the perimeter of the triangle is 160, the remaining side is 160-90 = <<160-90=70>>70 cm.
#### 70