The correct option is B q top in coil A and x to y in coil B
In coil A, the south pole is developed at q and in coil B also south pole is
developed at x. Therefore, the induced current in coil A will be from q to p
and induced current in the coil B will be from x to y.