Since the coils are co-axial, the flux through the coils can be written as the product of their surface area and the magnetic field produced by the coil along its axis.
Consider the flux passing through Q
ϕQ=2(R2+x2)23μ0i1R2×πR2=10−3Wb
And the flux passing through P:
ϕP=2(R2+x2)23μ0i1r2×πR2
Taking the ratio
ϕQϕP=i1i2×(R2+x2)23(R2+x2)23⇒10−3ϕP=i1i2
⇒10−3ϕP=32
∴ϕP=6.67×10−4Wb