To find height $ h $ use Pythagorean Theorem:
$$ h^2 + \frac{ a^2 }{ 4 } = s^2 $$After substituting $ a = 18 $ and $ s = 12 $ we have:
$$ h ^ {\,2} + \frac{ 18^2 }{ 4 } = 12^2 $$ $$ h ^ {\,2} + \frac{ 324 }{ 4 } = 12^2 $$ $$ h ^ {\,2} + 81 = 12^2 $$ $$ h ^ {\,2} = 144 - 81 $$ $$ h ^ {\,2} = 63 $$ $$ h = \sqrt{ 63 } $$$$ h = 3 \sqrt{ 7 } $$