Kirchhoff's loop equation when there's a current source in it?
you don't use kirchoff's voltage law on the loops containing current sources,, you merge two  loops like in the following image, this way you get two equations and third equation becomes   ib-ic = Iy,