Solenoids have two wires and it doesn’t matter which one goes where.
One is the common wire and the other is the power wire. You simply need to make sure that the wire coming from the control box terminal goes to one solenoid wire and the common wire goes to the other (as well as the other solenoids).
If you want to know how to wire a whole system then check this post
For help with any of these issues call Andrew on 0400044236 or email email@example.com