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