There was a similar question here, but I either did not understand the answers or the answers were too general. I am wondering specifically how to find the solutions. For example, what are the least squares solutions of
$$ \begin{pmatrix} 1 & 2\\ 2 & 4\\ -2 & -4\\ \end{pmatrix} \vec{x}= \begin{pmatrix} 3 \\ -4\\ 2\\ \end{pmatrix}. $$
When I attempt to solving using $A^TA\vec{x}=A^T\vec{b}$, I got that $det(A^TA)=0$, and thus it is noninvertible. I ran into similar problems attempting to use $A\vec{x}=proj_{Col A}\vec{b}$.