To find diagonal $ d2 $ use formula:
$$ d_1^2 + d_2^2 = 4 \cdot a^2 $$After substituting $ d_1 = 40 $ and $ a = 23 $ we have:
$$ 40^2 + d_2^2 = 4 \cdot 23^2 $$ $$ 1600 + d_2^2 = 2116 $$ $$ d_2^2 = 2116 - 1600 $$ $$ d_2^2 = 516 $$ $$ d_2 = \sqrt{ 516 } $$$$ d_2 = 2 \sqrt{ 129 } $$