write the similar transformation of matrix a in other way