How to model a detail with two trimmed ends composed of two cross-sections?

This article is also available in:
A sudden change of cross-section in a concrete beam? No problem with IDEA StatiCa Detail.

Check the video and see how to define, design and check such a part of a concrete beam from scratch.