Here is how I tied in my rear bag overflow to the midship overflow, then down to the check valve and finally out the boat. The idea of putting the T like that instead of like T to tie in the rear and midship bags inline was I didn't want a cycle of the midship back-flowing into the rear bag or visa versa. The way I have it is kind of like a waterfall for each overflow bag to dump down into the check valve. Seems to work great and my backs have never drained as tight and empty as they do now.
https://i.imgur.com/76pf4cn.jpg
Here is what I made outside the boat where it's easier to work and then trimmed it to fit once inside the compartment...
https://i.imgur.com/78LfNdP.jpg