If you have a bevel gauge, it's simple. Measure the angle, draw it on a piece of paper, and fold the drawn angle in half to determine how to cut on both pieces.
If you don't have a bevel gauge, you can still determine the angle by using a piece of paper to fold the angle and then folding the paper in half as above. It's a bit fiddly but it works well.
If you have a bevel gauge, it's simple. Measure the angle, trace it onto a piece of paper, and fold the traced angle in half to figure out how to saw both pieces.
If you lack a bevel gauge, you can use paper to trace the angle and then fold the paper in half as above. A bit trickier but it works well
I managed to trace the angle onto a piece of paper but still don't understand how to cut the moldings to make it fit together...