calculate answer method for addition.