W&T modules (physical button)

I am totally new in programing, I have got an task where i need to use Node Red.

See I have 2 W&T Web-IO modules, the one of them is a 2xin 2xout (57737) and the other is a 12xin 12xout(57730). they use box to box.

I have a physical button on the 2xin 2xout, to set a lamp on the other 12xin 12xout, on the 12xin 12xout I have another physical button that needs to reset the signal.

I hope one of u can help me