It can be like untying the Gordian knot.
Gordian knot. A complex knot tied by a Greek king. According to legend, whoever loosed it would rule all Asia. Alexander the Great, according to some accounts, undid the Gordian knot by cutting through it with his sword.