The question is: Suppose C is a linear $[3,2]$-code over $\Bbb{F}_q$ with generator matrix $G$. Show that using elementary operations, we can transform $G$ into one of the matrices: $$ M_1 = \begin{bmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ \end{bmatrix}. $$ $$ M_2 = \begin{bmatrix} 1 & 0 & 1 \\ 0 & 1 & 0 \\ \end{bmatrix}. $$ $$ M_3 = \begin{bmatrix} 1 & 0 & 1 \\ 0 & 1 & 1 \\ \end{bmatrix}. $$
What matrix should I let $G$ be to begin the question?
Any help is appreciated