f(x):=(x+2)*(x+4)*(x-6)*(x-8);

expand(f(x));

g(x):=2925;

f(x)=g(x);

solve(%,x);