原式=2/(x+3)-2/(x-3)+(2x+18)/(x^2-9)
=(2x+18-12)/(x^2-9)
=2(x+3)/[(x+3)(x-3)]
=2/(x-3)为整数
则x=1,2,4,5
它们的和=1+2+4+5=12