Find by projection the point on the line $\displaystyle x=(2,1,0)+t(-1,2,2)$ that is closest to the point $\displaystyle (0,2,2)$ and use perp to find the distance from the point to the line

So I am supposed to project the point $\displaystyle (0,2,2)$ to the line $\displaystyle x$? If so, how do I go about doing so?