A function g(x)g(x)g(x) satisfies g(3+x)=g(3−x)g(3+x) = g(3-x)g(3+x)=g(3−x) for all real numbers xxx. If the equation g(x)=0g(x) = 0g(x)=0 has exactly four distinct real roots, what is the sum of these roots?