simple main effects

#1
i'm trying to hand-compute simple main effects and i cannot remember if i need to just add all the cell data points for each individual of each group or if i can just use the mean for each group... please help!!! i can't find anything online :(