To find volume $ V $ use formula:
$$ V = \dfrac{ \sqrt{ 3 } \cdot a ^{ 2 } \cdot l }{ 2 } $$After substituting $ a = 3 $ and $ l = 6 $ we have:
$$ V =\dfrac{ \sqrt{ 3 } \cdot 3 ^{ 2 } \cdot 6 }{ 2 } $$$$ V = \dfrac{ 9 \sqrt{ 3 } \cdot 6 }{ 2 }$$$$ V = \dfrac{ 54 \sqrt{ 3 } }{ 2 } $$$$ V = 27 \sqrt{ 3 } $$