Step-by-step explanation:
The direction of magnetic field in a straight wire is given by Maxwell's right hand rule. It states that if the thumb of right hand points towards the direction of electric current, then the curled finger will give the direction of magnetic field.
In this case, a vertical wire carries a current straight down. It means that current will flow in the clockwise direction.