|x A - B |/ sqrt( x^2 + 1) = k, solve for x