You can't miter those 2 pieces of trim in the real world. You can do it with a 3D Molding Line (use your existing one, but you will need to put in a small horizontal section before going up the gable. That's how it would be done in real life.