Operational Amplifier multiplier
For the first case, you are right. It's an inversor amplifier.

The second exercise has a differential amplifier. In mostly books, it has the next output:

$$v_{o}=v_{2}-v_{1}$$

However, it's a special case assuming equal resistors. 

If you perform nodal analysis in your exercise, you will get:

$$v_{o}=\frac{[(200+100) \Omega]V_{2}-(200 \Omega)V_{1}}{100 \Omega}$$