Don't worry, Justhanging, I've spent plenty of time confused myself! I'm sure you'll understand it very soon. You know that
\textbf{u} \cdot (\textbf{v} \times \textbf{w}) = 5
and that
\text{Proj}_\textbf{u}(\textbf{v} \times \textbf{w}) = \frac{\textbf{u} \cdot (\textbf{v} \times \textbf{w})}{\textbf{u}\cdot \textbf{u}} \; \textbf{u}.
So
\text{Proj}_\textbf{u}(\textbf{v} \times \textbf{w}) \cdot \textbf{u} = \frac{\textbf{u} \cdot (\textbf{v} \times \textbf{w})}{\textbf{u}\cdot \textbf{u}} \; \textbf{u} \cdot \textbf{u}
= \textbf{u} \cdot (\textbf{v} \times \textbf{w}) = 5.
The number I canceled there was \textbf{u} \cdot \textbf{u}. This is allowed, so long as \textbf{u} is not the zero vector, because whatever it's length, when we divide that squared length by itself, the result will be 1.
\frac{\textbf{u} \cdot \textbf{u}}{\textbf{u} \cdot \textbf{u}} = \frac{\left \| \textbf{u} \right \|^2}{\left \| \textbf{u} \right \|^2}=1.
Is that any clearer?