So I have to solve this equation.
$ XX^T-X^TX=2\begin{pmatrix}0 & 2\\\ 2 & 0\end{pmatrix}$
I wrote matrix $X\ $ as $X=\begin{pmatrix}a & b\\\ c & d\end{pmatrix}\ $ and $ XX^T-X^TX=\begin{pmatrix}b^2-c^2 & ac+bd-ab-cd\\\ ac+bd-ab-cd & c^2-b^2\end{pmatrix} $
so I had system of equations $ \begin{cases} (b+c)(b-c)=0 \\[2ex] (d-a)(b-c)=4 \\[2ex] \end{cases} $
One thing is certain $b=-c$ I have found 8 solution options. But I have diiferent ask. Does anyone have different option to solve it? My solution is to hard and overwhelming. I want to find just one solution.
Here is the explanation:
As you noticed, $b = -c$. From 3rd equation we have $2b(d-a) = 4$. This means $b \neq 0 \neq c$. From this we have $d = a + {\frac {2}{b}}$. Similarly from 4th equation we have $d = - \left( a + {\frac {2}{b}} \right)$. Adding these two we get $2d = 0$. Thus $d = 0$. This proves $a = -{\frac {2}{b}} = {\frac {2}{c}}$. Now replace all entries by the relations of $c$ and we get your matrix.
\begin{pmatrix} 2/c & -c \\ c & 0 \end{pmatrix}
for any $c \in {\mathbb{R}}, c \neq 0$.