For a body to be in unstable equilibrium, two conditions needs to be satisfied -->
1. dxdU = 0
2. dx2d2U < 0.
Find such a value of x which satisfies both the conditions.
That value represents the unstable condition.
Hope this helps you
ALL THE BEST