Simple algebraical solutions to the matrix equation

through the transformation of

and

to canonical forms are considered. The considered approach is rather general in that is not limited to particular representations, but covers the whole class of canonical forms that

and

can assume.