Let $F$ be a field, and $A$ a rank-one matrix in $M_n(F)$. Let $A$ is similar to $E_{12}$ where $E_{12}$ denotes the matrix with 1 in the row $1$th and the column $2$th, and zero elsewhere.
Now, we want find a especial basis and the matrix of change of basis that $A$ changes to $E_{12}$.
So if I understand the question correctly:$$E_{12}=\begin{bmatrix}0&1\\0&0\end{bmatrix}$$$$A=\begin{bmatrix}0&a\\0&0\end{bmatrix}$$with $a\in F$. If this is the case, then we're able to use a property of the field:
For each $x\in F$ there exists an inverse element $x^{-1}\in F$ such that $xx^{-1}=1$. Then to change $A$ to $E_{12}$ we would like to multiply by $a^{-1}$. Can you take it from here?