a couple ways, the easiest is assuming you are sweeping that profile along a spline, just sweep along one spline to make both sides and the corner is automatic.
If those are two pieces of geometry now, lengthen them so they intersect each other and use Boole to cut the shape of each into the other, then trim the extra bits. I can do some quick images if you need to do that.