I have a matrix:

I believe I've correctly used cofactor expansion to get:

(x-5)^(3+3) det(

I'm not sure what to do from this point, or if I'm doing it correctly at all... Help appreciated.

For instance, how would I find the cofactor of the new matrix?