This equality is not true. E.g., if $f(u)=u$, $x=0$, and $a=1$, then the left-hand side of the equality is $1$, whereas its right-hand sided is $2$.