Kirchhoff's law when using an OpAmp
\$U^{+} \$ is the voltage at +ve node of the opamp with respect to ground. The +ve node is connected to \$U_{in} \$ voltage source. So \$U^{+} = U_{in} \$

Same concept in the second circuit.