Calculate the sum for different items within a repeat group question

I hope the screen shot may help ;
survey