These are always simplified by cancelling common factors from numerator and denominator. In order to do that, you have to factor the expressions. The restrictions on x give a clue as to the factors of the denominator.
goog may have it for you
hope this : )