In this case a picture is not worth a thousand words. I cannot tell from the picture you posted (hidden inside of the PDF file you attached) what you want to sum.
Please post the data as text. (Preferably as a data step that can re-create the data.)
Post the result you want as text also.
Describe in words what you want to do to get from the input to the output.
And if you do want to share another picture do not go to the trouble of making a PDF file and attaching the PDF file. You can either use the Insert Photos icon to upload a photo file. Or just copy and paste the image directly.