http://masteringelectronicsdesign.com/the-transfer-function-of-the-summing-amplifier-with-n-input-signals/
Add some DC to the other input if you need to add some offset.