A:={{a,0},{0,d}}
B:={{0,1},{1,1}}
Inverse[A]

Inverse[A].Inverse[B]//MatrixForm
Inverse[A.B]//MatrixForm

Inverse[A.B]//MatrixForm//TeXForm