Need Help On JavaScript

Need help on the variables on JavaScript the part where I combine a and b what do I do

Post your code so we can see what you have already tried