The MathObject library is not a computer algebra system (CAS). It does some simplification and things like derivatives, but it is not a general CAS, and doesn't do the kind of matrix multiplication of formulas that you are asking for.
One option is the Sage integration. That provides you access to a full CAS.
Multiplying Matrices with Entries that are Variables
This forum has a limit to the number of forum postings you can make in a given time period - this is currently set at 5 posting(s) in 1 day