Water irrigation system - control three valves from one pin, how?

OP's pictures: