Algebra Examples

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