untangle
Definitions
To make something that is knotted or tangled become straight or free.
To resolve or clarify a complicated situation or problem.
Examples
It took me nearly an hour to untangle the knots in my headphones.
The mediator helped the two parties untangle their complex legal dispute.