Answer
$ w=5$
$x=6$
$ y=-2$
$z=8$
Work Step by Step
Two matrices are equal if they have the same dimension and
if corresponding elements, position by position, are equal.
---
The matrices are both 3$\times$3.
Position by position,
$5=w \quad \Rightarrow \quad w=5$
$x=6$
$y+2=0 \quad \Rightarrow \quad y=-2$
$z=8$