Given that both triangles are similar, then their corresponding sides satisfy a proportion.
The next relation must be satisfied:
Let's suppose that AB and DE are the shortest sides of each triangle, then:
Also,
The perimeter of the smaller triangle is,
The perimeter of the larger triangle is,
But, AB + BC + AC is the perimeter of the smaller triangle, which is 17, then the perimeter of the larger triangle is 3*17 = 51