Figure shows a long current carrying wire and two rectangular loops moving with velocity v. Find the direction of current in each loop.