Hint: Use the relation between the force and the potential energy.
Step 1: Find the force equation.
Given potential energy associated with the field,
U(x) ...(i)
Now, Force, F
[ for a conservatine force F, we can write ]
[We have assumed the field to be conservative]
As are constant,
Motion is SHM for small oscillations.
Step 2: Find the time period of oscillations.
Standard equation for SHM,
Comparing Eqs. (ii) and (iii), we get,
Time period,