Why does this dual summing op amp have this equation?
The equation is correct, although the unsimplified form would be clearer. The first stage sums in the inverting input, which means that those terms should be negative when summed in the second stage. And then it inverts in the second stage.

-(-(a + b) + c + d) = a + b - c - d