Rule reminder
Idiomatic expressions must be understood in context. The same words can mean something completely different when used idiomatically. Focus on the situation, the speaker's tone, and the relationship between speakers to infer meaning.
— Hai risolto il problema con il cliente difficile? — Sì, alla fine sono riuscito a cavarmi i piedi dai guai. What does 'cavarsi i piedi dai guai' mean?