Interesting way to solve it using x=-b/2a
At the same time, I'm looking at the question though and noticing that it's a part (c). Surely part (a) and part (b) would've helped somehow. This is a purely SHM method:
The endpoints of motion are found by solving for v=0. So we have 0^2 = 4x - x^2, solved to be x = 0, 4.
Hence the centre of motion is at x=2, which is the same as using x=-b/2a.
Because velocity is maximised at the centre of motion for SHM, sub that in to |v|