Okay, so
[tex]A= \begin{bmatrix}1 & 0 \\ 0 & -1\end{bmatrix}[/tex]
Saying that [tex]B= \begin{bmatrix}b_{11} & b_{12} \\ b_{21} & b_{22}\end{bmatrix}[/tex] commutes with A means
[tex]AB= \begin{bmatrix}1 & 0 \\ 0 & -1\end{bmatrix}\begin{bmatrix}b_{11} & b_{12} \\ b_{21} & b_{22}\end{bmatrix}= \begin{bmatrix}b_{11} & b_{12} \\ b_{21} & b_{22}\end{bmatrix}\begin{bmatrix}1 & 0 \\ 0 & -1\end{bmatrix}= BA[/tex]
[tex]\begin{bmatrix}b_{11} & b_{12} \\ -b_{21} & -b_{22}\end{bmatrix}= \begin{bmatrix}b_{11} & -b_{12} \\ b_{21} & -b_{22}\end{bmatrix}[/tex]
So the conditions are that [itex]b_{12}= -b_{12}[/itex] which gives [itex]b_{12}= 0[/itex] and [itex]-b_{21}= b_{21}[/itex] so [itex]b_{21}= 0[/itex].
Your first statement is correct- this is the set of diagonal matrices.
With [tex]A= \begin{bmatrix} 1 & 1 \\ 0 & 1\end{bmatrix}[/tex]
we have
[tex]AB= \begin{bmatrix}1 & 1 \\ 0 & 1\end{bmatrix}\begin{bmatrix}b_{11} & b_{12} \\ b_{21} & b_{22}\end{bmatrix}= \begin{bmatrix}b_{11} & b_{12} \\ b_{21} & b_{22}\end{bmatrix}\begin{bmatrix}1 & 1 \\ 0 & 1\end{bmatrix}= BA[/tex]
[tex]\begin{bmatrix}b_{11}+ b_{21} & b_{12}+ b_{22} \\ b_{21} & b_{22}\end{bmatrix}= \begin{bmatrix}b_{11} & b_{11}+ b_{12} \\ b_{21} & b_{21}+ b_{22}\end{bmatrix}[/tex]
So we must have [itex]b_{11}+ b_{21}= b_{11}[/itex], which means [itex]b_{21}= 0[/itex], [itex]b_{12}+ b_{22}= b_{11}+ b_{12}[/itex], which means [itex]b_{11}= b_{22}[/itex], and [itex]b_{22}= b_{21}+ b_{22}[/itex], which means [itex]b_{21}= 0[/itex].
That's exactly what you have! Very good!