Which looking at your post is what you have done. Pretty straight forward rearraging to make M^-1 the subject yes?
I've got this p*ss easy simultaneous equation to solve, and it says solve it by the matrix inverse method though, is that just Cramers rule?