Just looking at the panel, it doesn't seem like it would be broken up that way. Perhaps it's not the case, but it seems like the two breakers on the left would be fed by the 40a main on the left, and the breakers on the right would be fed by the 40a main on the right. I've never seen a panel like that, so I could be way off base.
.