Algebra Examples

Graph y=(x-A)/(x-B)
I am unable to solve this problem.