Type the derivative for f(x) as the definition of g(x).Now slide the answer slider to see if you are correct.

App generated by Geometry Expressions