$$S=z \pm x/y \times n \%$$
$S=z±\left(\frac{nx}{y}\right)\% $
$y\neq 0$