I am trying to show with two examples that even though two matrices look different they have the same Jordan canonical form.
So far I have the matrix $A=\begin{pmatrix} 3 & 0 & 0\\ 0 & 4 &-1\\ 0 & 1 & 2\end{pmatrix}$. The characteristic polynomial is $$(3-\lambda)^3=0.$$ Hence the eigenvalue for $A$ is $\lambda=3$ with eigenvectors $$\begin{pmatrix} 1 \\ 0 \\ 0\end{pmatrix} \text{, and } \begin{pmatrix} 0 \\ 1 \\ 1 \end{pmatrix}.$$ Note $$(A-3\cdot I)^2=0.$$ Thus the minimal polynomial is $$(\lambda-3)^2=0.$$ This implies the largest Jordan block is $2 \times 2$, which implies there are 2 Jordan blocks.
After alot of algebra work, I found the Jordan canonical form of $A$ is $$J=\begin{pmatrix} 3 & 0 & 0 \\ 0 & 3 & 1 \\ 0 & 0 & 3 \end{pmatrix}$$ and the basis matrix is $$P=\begin{pmatrix} 1 & 0 & 0 \\ 0 & 1 & 2 \\ 0 & 1 & 1 \end{pmatrix}.$$
Now I need help finding another matrix $B$ with the same Jordan canonical form, $J$.