System with two buttons

Yeah, not a diagram, but okay. How did you know to connect it that way?