Finite Math Examples

Find the Inverse [[x-1,-1,-1],[-1,x-1,1],[-1,-1,x-1]]=0
I am unable to solve this problem.