If z is not 0, then z has a multiplicative inverse, $z^{-1}$. For the first part, multiply both sides of yz= 0 by $z^{-1}$ to get a contradiction. For the second multiply numerator and denominator of (xz)/(yz) by $z^{-1}$.