\left|\frac{x\pm a}{y\pm b}-\frac xy\right|=\left|\frac{xy\pm ay-x(y\pm b)}{y(y\pm b)}\right|\leq \frac{a|y|+|x|b}{|y|(|y|-b)}