Matrix Multiplication in Z9 and Z101

Hey, I present to you two problems:

First one:

To find the Inverse of the matrix in 9.

I have worked out the determinent which is equal to 12, but in 9 that is equal to 3.

I know I have to inverse the determinent in 9 but I am a little unsure about how to do that. But I'm stuck at the line:

in 9

Second one:

Given a matrix:

in 101. work out and find where m = 34 and n = 84.

I have worked out but I'm not sure how to proceed with the other part, I think I must use Euler's formula, but that specifies for two numbers pq that are prime, clearly 34 and 84 are not.

Regards