Row canonical form:
Example echelon form

Example canonical form

Note that

To obtain a row-canonical matrix, first reduce to echelon form. Next eliminate all nonzero elements above the pivots, starting from the last one, and divide each equation by its pivot.