Dear Student
When a positively charged particle is move toward east and enter a perpendicular magnetic field region then it goes upward so direction of the magnetic field is to the north position as magnetic field is going perpendicular to the charge.
Regards