Question

$$| z - 2 x | = 5$$

Solve for x

$x=\frac{z+5}{2}$
$x=\frac{z-5}{2}$

Solve for z

$z=2x-5$
$z=2x+5$