Complex sentence: When the third son-in-law arrives in the scene, who is a pretty thief, he quickly understands to change the situation.
Split into simpler sentences: When the third son-in-law arrives in the scene, (who is a pretty thief). He quickly understands to change the situation.