What is the correct syntax to add the contribution amounts in cells O2 and P2?

Correct
To add cells O2 and P2, use the function =SUM(O2,P2). You can also use the formula =O2+P2.