How would i connect the front of my drivetrain to the back?

the back part of the drivetrain needs to be attached to the back but i’m unsure of how to do so

You can put 2 2 wide C-channels here as bracing but also along the inner channel of the wheel sandwich.