z=\frac{2x-\left(a+b \right)}{b-a},