Pyhtaorean theorem says a² + b² = c²
a² + 7² = 25²
a² + 49 = 625; subtract 49 from both sides
a² = 576; square root both sides
a = 24
The perimeter is the distance around the figure, so 7 + 24 + 25 or 56