Answer
$a=-5$
$b=7$
Work Step by Step
The bottom middle of the B Matrix contains the number, -5. In order to be equal, $a$ in the bottom middle of A Matrix must also be, -5.
The top right of the A Matrix contains the number, 7. In order to be equal, $b$ in the top right of B Matrix must also be, 7.