Let y= 1 get x=3, then B(3, 1)
Let y=0 and x=2, then a (2,0)
Slope k=( 1-0)/(3-2)= 1.
The linear equation y- 1= 1*(x-3)
That is x-y-2=0.