$P \Leftrightarrow Q$ is the same as $P \Rightarrow Q$ and $Q \Rightarrow P$. So contrapose those two and you get $Not(Q) \Rightarrow Not(P)$ and $Not(P) \Rightarrow Not(Q)$, otherwise written as $Not(P) \Leftrightarrow Not(Q)$
$P \Leftrightarrow Q$ is the same as $P \Rightarrow Q$ and $Q \Rightarrow P$. So contrapose those two and you get $Not(Q) \Rightarrow Not(P)$ and $Not(P) \Rightarrow Not(Q)$, otherwise written as $Not(P) \Leftrightarrow Not(Q)$