How to do a simple sum of 2 msgs

Could you helpme with the code?
I`ve tried different ones, but none worked.