Unfortunately when I was removing a light switch, two cables came loose, and I am unsure how to correctly re-wire them. I have attached two images. "Known" shows how the wires work at each light switch and shows the switch in the middle where I don't know how to reconnect it correctly.
The...