Designing modular roofs?

That’s essentially the pieces I have now actually, I forgot to show how they’re divided:

I also have endcaps and inverted corners not shown, so they all fit perfectly together perfectly, however the issue then becomes when the house is bigger than the angle that 2 halves of the roof covers, how would you suggest I fill in the gap in between, or should just a flat roof do anyway?