To find side $ b $ use Pythagorean Theorem:
$$ a^2 + b^2 = d^2 $$After substituting $a = 24\, \text{cm}$ and $d = 25\, \text{cm}$ we have:
$$ \left( 24\, \text{cm} \right)^{2} + b^2 = \left( 25\, \text{cm} \right)^{2} $$ $$ b^2 = \left( 25\, \text{cm} \right)^{2} - \left( 24\, \text{cm} \right)^{2} $$ $$ b^2 = 625\, \text{cm}^2 - 576\, \text{cm}^2 $$ $$ b^2 = 49\, \text{cm}^2 $$ $$ b = \sqrt{ 49\, \text{cm}^2 } $$$$ b = 7\, \text{cm} $$