Exercício resolvido:

Matriz adjunta