This is actually a differential equation, and you're going to need to integrate to find the final answer. The equation given is not, in general, true. But the problem is obviously assuming it is true. So, what I would do first is expand the LHS by using the product rule, and then solve for du/dx. See what happens.