Remember that the domain will exclude values for which the value of the denominator is 0. You set the numerator equal to 0 and solved for x; try doing the same thing for the denominator.