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