slope =x2​−x1​y2​−y1​​=1−ab−1​=1⇒b−1=1−a⇒a+b=2