\frac{Ax+B}{ax+b}+\frac{Cx+D}{cx+d}=\frac{(Ax+B)(cx+d)+(Cx+D)(ax+b)}{(ax+b)(cx+d)}