1) Magnitude
The magnetic force acting on a current-carrying wire is

where
I is the current
L is the length of the wire
B is the intensity of the magnetic field

is the angle between the direction of the current and the direction of the magnetic field.
In our problem, the current and the force are perpendicular to each other, this means that B is perpendicular to I as well, so this angle is

and so

, so we can ignore it in the formula and rewrite it as

which can be rewritten as

and by using the data of the problem, we find the intensity of the magnetic field:

2) Direction
we can find the direction of the magnetic field by using the right-hand rule. Let's assign one vector to each finger:
index finger --> I
middle finger --> B
thumb --> F
if we take the index finger (I) in the x+ direction and the thumb (F) in the y- direction, we find that the middle finger (B) is in the z+ direction, so this is the direction of the magnetic field.