kirchoff's second law states that all currents at a nodal point add up to zero
the left and right signals are applied to the two input resistors R1 and R2 .
these are tied together along with the Op Amp input (pin3) at nodal point Z.
solving the circuit equations yields.