2/(x+3)+2/(3-x)+(2x+18)/(x^2-9)
=2/(x+3)-2/(x-3)+(2x+18)/(x^2-9)
=2(x-3)/(x^2-9)-2(x+3)/(x^2-9)+(2x+18)/(x^2-9)
=(2x-6-2x-6+2x+18)/(x^2-9)
=(2x+6)/(x^2-9)
=2(x+3)/(x-3)(x+3)
=2/(x-3).
2/(x+3)+2/(3-x)+(2x+18)/(x^2-9)
=2/(x+3)-2/(x-3)+(2x+18)/(x^2-9)
=2(x-3)/(x^2-9)-2(x+3)/(x^2-9)+(2x+18)/(x^2-9)
=(2x-6-2x-6+2x+18)/(x^2-9)
=(2x+6)/(x^2-9)
=2(x+3)/(x-3)(x+3)
=2/(x-3).