The denominator is a perfect square, x2−6x+9=(x−3)2, which is zero only at x=3. So x=3 is the one and only excluded value; x=−3 is in the domain, where the expression equals 360=0.
The numerator is a difference of squares whose factor 3−x is the opposite of x−3.
9−x2=(3−x)(3+x)=−(x−3)(x+3)
Divide out one copy of the common factor x−3.
(x−3)2−(x−3)(x+3)=−x−3x+3(x=3)
Check at x=0: the original is 99=1, and −−33=1 agrees. Losing the minus sign would give −1.