Multiply and Add functions in Node editor
For Math: Shift+A -> Converter -> Math and switch math function what you need.

For Colors: Shift+A -> Color -> Mix RGB and switch blend mode

For greyscale images doesn't matter if you use math, or color - result is the same