did everything they could
Mary fez tudo que pôde para ajudar Tom.
Mary did everything she could to help Tom.
Ela fez tudo que pôde por ele.
She did everything she could for him.
Tom fez tudo que pôde para impedir Mary de fazer aquilo.
Tom did everything he could to stop Mary from doing that.