A particle moves along the x-axis with the velocity dx/dt= f(x). Show that the particle's acceleration is f(x)f '(x).

The notation looks funny. It usually is dy/dx. This time it's the derivative of x with respect to t.

Tried chain rule (where f is outside and x is inside), and the product rule.