The chat room is NOT an appropriate forum to post this question in.
The maximum value of g(x) on the interval will occur at either one of the endpoints or at a maximum turning point within the interval.
Do you know how to find the x-coordinate of a stationary point using calculus? Do you know how to test the nature of a stationary point? If so, do this. Does g(x) have a maximum turning point on the interval?
Find g(0) and g(10).
Therefore the largest value of g(x) is .......?