Sheet Metal Miter

What would be the best way to miter these sheet metal rails together?

Top flanges are equal, the bottoms are not equal and frequently change. Needs to be easily configurable.

I am trying to avoid a million cut-extrudes

SolidworksParts And Features