To find height $ h $ use formula:
$$ h = \dfrac{ \sqrt{ 3 } \cdot a }{ 2 } $$After substituting $a = 2\, \text{cm}$ we have:
$$ h = \dfrac{ \sqrt{ 3 } \cdot 2\, \text{cm} }{ 2 } $$$$ h = \dfrac{ 2 \sqrt{ 3 }\, \text{cm} }{ 2 } $$ $$ h = \sqrt{ 3 }\, \text{cm} $$