Hints: Make use of Biot Savart Law ,and then the formula due to long CC wire fora point at distance d = μ04Πd (sin α+sin β)
Where angles are measure from the perpendicular line on long CC wire from point P.
You would find these in any book.. or even can derive it.
Now solve.