Ukraine should simply agree to whatever Trump wants in return for Trump's full and complete support in the war. Once Ukraine has won and pushed Russia out of all territories, Ukraine can then say that they were forced by extortion to make the agreement with Trump and that it is an invalid and worthless agreement. This is exactly from the playbook of Trump himself, so they should not feel bad doing it.