I read and understand the problem differently from the tutor @Theo.
Correspondingly, my solution is different.
The given function is f(x) = .
Its gradient is the derivative f'(x) = 2ax.
The value of the gradient at the point x= 2 is -4: f'(2) = 2*a*2 = -4,
which implies a= -1.
Answer. The value of "a" is -1.