\nonstopmode
\documentclass[12pt]{article}
\usepackage{cancel}
\pagestyle{empty}
\begin{document}
$$
-6+2(i_{1}-i_{2})+1(i_{1}-i_{3})=0\quad \to \quad -6+2i_{1}-2i_{2}+1i_{1}-1i_{3}=0\quad \to \quad 3i_{1}-2i_{2}-i_{3}=6
$$
\end{document}
