(a) Q must be pushed up, so the force between the wires must be repulsive: the currents must be opposite. At height h the repulsion per metre balances the weight per metre λg:
2πhμ0IPIQ=λg⇒h=2πλgμ0IPIQ=5.0×10−3×9.82×10−7×100×20≈8.2×10−3 m
So Q floats about 8.2 mm above P.

(b) Vertical: stable. If Q rises a little, h increases and the repulsion (∝1/h) weakens below its weight, so Q falls back. If it drops, the repulsion grows and pushes it back up.
Sideways: unstable. If Q moves slightly to one side, the repulsion, which acts along the line joining the wires, is tilted away from the vertical. Its horizontal component pushes Q further sideways, and Q slides off. (This is why such levitation needs a guiding groove.)