Evaluate the Function g(-2)=2x^3+6