tried to solve that problem
彼はその問題を解こうと努力した。
He tried hard to solve the problem.
ジョンはその問題を解こうと努力したが無理だった。
John tried hard to solve the problem, but he couldn't.
ディックはその問題を解こうとしたがだめだった。
Dick tried to solve the problem, but he couldn't.
ジョンはその問題を解こうとしたが無駄だった。
John tried to solve the problem, but it was no use.