Answer:
perimeter of both triangle are same .
perimeter of right angle triangle is = sum of all side .
perimeter of right angle triangle = 8+15 +17= 40 cm.
as we know that perimeter of both triangle are same and equal.so,
X5 = 40
x= 40/5
x= 8
sides of triangle are - 8,8,8