Amplitude of oscillations is the separation of the particle from mean position to the extreme positions. Also the speed of the particle becomes zero at extreme position. Let x represents extreme positions, then
8bx−x2−12b2=0 or x2−8bx+12b2=0 or (x - 6b) (x - 2b) = 0
It shows that particle moves long x-axis from x = 2b to 6b.
If A is the amplitude of oscillations, then 2A = 6b - 2b = 4b ∴ A = 2b