The equation for the projection of onto is .
If and are perpendicular, then they are orthogonal.
Since and are perpendicular .
Substitute in .
So, the projection of onto is .
The projection of onto is .