Let GCD =x+1 and LCM =x6−1 for two given polynomials f(x) and g(x). Then, if f(x)=x3+1. what is g(x)?