To find height $ h $ use formula:
$$ \sin \left( \alpha \right) = \dfrac{ h }{ a } $$After substituting $ \alpha = 45^o $ and $ a = 9 $ we have:
$$ \sin( 45^o ) = \dfrac{ h }{ 9 } $$ $$ \frac{\sqrt{ 2 }}{ 2 } = \dfrac{ h }{ 9 } $$$$ h = \frac{\sqrt{ 2 }}{ 2 } \cdot 9 $$$$ h = \frac{ 9 \sqrt{ 2}}{ 2 } $$