$\begin{vmatrix} 1 & a &bc \\ 1& b & ac\\ 1&c & ab \end{vmatrix}=\begin{vmatrix} 1 & a &a^2 \\ 1& b&b^2 \\ 1& b & c^2 \end{vmatrix}$ 
Prove that  \begin{align}\begin{vmatrix}
1 & a &bc \\ 
 1& b & ac\\ 
 1&c  & ab
\end{vmatrix}&=\begin{vmatrix}
1 & a &a^2 \\ 
 1&  b&b^2 \\ 
 1& b & c^2
\end{vmatrix}\\&=(c-a)(b-a)(c-b)\begin{vmatrix}
1 & a & a^2\\ 
 0& 1 &b+a \\ 
 0& 0 & 1
\end{vmatrix}\\\\
&=(c-a)(b-a)(c-b)\end{align}

I got the last two equalities but I did't get first two. I need help with first two

From the last column, we remove the common factor $abc$;
Then we multiply the first line by $a$, the second line by $b$ and the last line by $c$.
