Okay, I'm given
$$P=\begin{bmatrix} 1 & 1 \end{bmatrix}^T$$
and given 4 different sections of problem. Before I continue, I want make sure my suspicion is correct:
$$P=\begin{bmatrix} 1 \\ 1 \end{bmatrix}$$
Right? The rest of the question will work on that assumption until I'm corrected. The first section is to compute $PP^T$ and $P^TP$ which I've computed (and confirmed on Wolfram|Alpha) as
$$\begin{bmatrix} 1 & 1 \\ 1 & 1 \end{bmatrix}$$
and
$$\begin{bmatrix} 2 \end{bmatrix}$$
The second section, which is where my main trouble is, tells me to compute
$$M_P=I-{2 \over P^TP}PP^T$$
where $I$ is the 2x2 identity matrix
$$I=\begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix}$$
Using the above, ${2 \over P^TP}={2 \over \begin{bmatrix} 2 \end{bmatrix}}$ and I don't understand where to go from there to work on the problem. I barged ahead, assuming it would simplify to $1$ and found that this made one of the next sections impossible (prove that $M_P$ is invertible).