Integer Solutions of the Equation y = Ax + B