Put the equation xa+yb=1 to the slope intercept form and find its slope and y-intercept.
xa+yb=1
The slope intercept form is
y=mx+c
bx+ay=ab
ay=−bx+ab
y=−bxa+b
Thus y-intercept is b,
Slope=−ba