\[ac^{6} - ac^{4} - c^{6} + c^{4} =\]
\[= ac^{4}\left( c^{2} - 1 \right) - c^{4}\left( c^{2} - 1 \right) =\]
\[= \left( c^{2} - 1 \right)\left( ac^{4} - c^{4} \right) =\]
\[= c^{4}(c - 1)(c + 1)(a - 1)\]