0 is clearly a root, since g(x) is a product that contains 5x.
x2−2x−1 is a polynomial with discriminant:
D=b2−4ac, where a,b,c the coefficients of the polynomial (a for x2, b for x, c for the constant). So,
D=4+4=8>0 and it follows that the aforementioned polynomial has two unique roots given by:
x=−b±√D2a=2±√82=2±2√22=1±√2.
So, g has three roots: x=0, x=1+√2, and x=1−√2.