# Compass Needle between two solenoids

I have a question which asks how a compass needle would align when placed between 2 current carrying solenoids.

The answer is apparently:

The north pole of the compass would point up the page. The compass would align with the magnetic field (which points upwards), produced by the two solenoids whose inner ends both act as south poles by the right-hand grip rule.

This is conventional current by the way. Even with this explanation it still doesn’t make sense to me. For the left solenoid, the magnetic field lines would point to the left. For the right solenoid, it would point to the right.

The understand that the inner sides of the solenoids are the south poles. What I don’t understand is how the magnetic field is pointing upwards? What field is even pointing upwards?

My guess would be that if the South Pole is above the point ‘z’, then there is somehow a North Pole below the point then, this means that the arrow of the field points upwards and hence the north end of the needle points upwards?

I seriously don’t know.