why is it 18-5 ? Is there any typo here ? Because it's strange it hasn't been simplified into 13
And hence it seems not logical that the derivative has 18 in it...
Also, what is u ? If it doesn't depend on x, then its derivative is 0 and you shouldn't have any u left in the derivative of f.