To find height $ h $ use Pythagorean Theorem:
$$ h^2 + \frac{ a^2 }{ 4 } = s^2 $$After substituting $ a = 3 $ and $ s = 3 $ we have:
$$ h ^ {\,2} + \frac{ 3^2 }{ 4 } = 3^2 $$ $$ h ^ {\,2} + \frac{ 9 }{ 4 } = 3^2 $$ $$ h ^ {\,2} + \frac{ 9 }{ 4 } = 3^2 $$ $$ h ^ {\,2} = 9 - \frac{ 9 }{ 4 } $$ $$ h ^ {\,2} = \frac{ 27 }{ 4 } $$ $$ h = \sqrt{ \frac{ 27 }{ 4 } } $$$$ h = \frac{ 3 \sqrt{ 3}}{ 2 } $$