I think you require
Read the tutroial here: http://www.mathhelpforum.com/math-help/latex-help/
The reason that is not continuous at x= 1, as it stands, is that the denominator is 0 at x= 1. The reason it is possible to "make it" continuous (it has a "removable" discontinuity) is that the numerator is also 0 at x= 1. And the fact that the numerator is 0 at x= 1 tells you that x- 1 is a factor. You should have thought immediately of . Multiply out the right side and it should be easy to see what b must equal.