now at the same point the magnetic field due to other wire placed along $Y$ axis is given by
$B_2=\frac{\mu_0 i_2}{2 \pi x}$
now we have to make the magnitude of magnetic field due to both wires same
$B_1=B_2$
$\frac{\mu_0 i_1}{2 \pi y}=\frac{\mu_0 i_2}{2 \pi x}$
now by solving above we have
$y=\frac{i_1}{i_2} x$
so its a straight line with slope $i1/i2$ and passing from origin
Reason : Magnetic field energy density is proportional to the magnetic field.