Okay, that is already not the good way around. You haven't found the derivative yet, hence, it's f(x), not f'(x)
Then, since you already used f(x), you should use something else. Let's take u and v, such that:
Now, substitute that into f'(x).