Matrix

Anybody have a clue how to do this?

The first one’s clearly -8 but how do I get the second? kthxbai