As per Fleming's left hand rule, the direction of force acting on the wire is toward the top of the page in diagram 2.