Explanation:
g(x) is a polynomial. It doesn't contain a rational degree with the variable as the denominator, negative eexponents, or irrational coeffecienfs, and no rational exponents as a degree.
f(x) and f(a) isn't a polynomial. It contain a irrational coeffceint like pi. So it not a polynomial. And they both have a rational exponet as a degree