Calculate the sum for different items within a repeat group question

@abeid, maybe this post discussed previously should help you solve your issue: