STEP 1: find side $ a $
To find side $ a $ use formula:
$$ P = 6 \cdot a $$After substituting $ P = 12 $ we have:
$$ 12 = 6 \cdot a $$ $$ a = \dfrac{ 12 }{ 6 } $$ $$ a = 2 $$STEP 2: find diagonal $ d $
To find diagonal $ d $ use formula:
$$ d = 2 \cdot a $$After substituting $ a = 2 $ we have:
$$ d = 2 \cdot 2 $$ $$ d = 4 $$