multiple solenoid valves working together ( multiple pins to be set as output )

i will be using 2 mega and one uno ... that's not the issue....