Magnetic field question

can anyone help me solve this question?
I studied generator effect but I don’t know how to
adapt that rule to this question.