$$We have to start with subtracting 5 from both sides. We don't multiply both sides by 2 first, because that is associated with y. Think of it being tied to y, and we have to get rid of everything else before we can untie that.\\
So, we have:\\\\
$\frac{y}{2}+5=-12$\qquad \qquad Subract 5 from both sides\\\\
$\frac{y}{2}=-12-5$\\\\
$\frac{y}{2}=-17$\qquad \qquad Multiply both sides by 2\\\\
$y = -17 \times 2\\\\
y = -34$$
$$We have to start with subtracting 5 from both sides. We don't multiply both sides by 2 first, because that is associated with y. Think of it being tied to y, and we have to get rid of everything else before we can untie that.\\
So, we have:\\\\
$\frac{y}{2}+5=-12$\qquad \qquad Subract 5 from both sides\\\\
$\frac{y}{2}=-12-5$\\\\
$\frac{y}{2}=-17$\qquad \qquad Multiply both sides by 2\\\\
$y = -17 \times 2\\\\
y = -34$$