In Alaska, Russia agreed to accept the current de facto front line in Zaporozhye and Kherson, and Ukraine allows possibility of freezing the conflict along the front line.
Mykhailo Podolyak, adviser to the head of the Presidential Office, said:
"Ukraine’s preliminary position is as follows: we understand that one of the basic scenarios for exiting this war is freezing the conflict along the front line. These are the territories that are de facto occupied by Russia today. They will remain as such. And then there will be extensive work through economic, diplomatic, and other instruments to return these territories to Ukraine. But de jure they will remain Ukrainian."
This means that, as far as de facto recognition of the realities on the ground, the only point at issue is the Russian demand of Ukraine's withdrawal from Donbas (Donetsk, Lugansk area), and that, if this demand is dropped, then there will be no obstacle left to de facto recognition of the new borders between Ukraine and the Russian Federation.
The last two sentences of the above quote need careful consideration.
Mykhailo Podolyak used the phrase de jure (i.e according to law), but Ukraine (as represented by its officials) is a party to the conflict, not an impartial judge. Ukrainian officials can have their opinions about what the legal status of the disputed territories should be, but, until there is a valid legal decision by an impartial legal authority based on the relevant facts and strict logic, their opinions are nor more legally valid than opinions of Russian officials.
Mykhailo Podolyak also said that
"there will be extensive work through economic, diplomatic, and other instruments to return these territories to Ukraine".
If such "instruments" are intended to cause economic damage, or political isolation, or any other damage to the Russian Federation, then Mykhailo Podolyak is not talking about peace, but about turning a hot war into a cold one. And this cannot be part of a peace agreement.
Based on all the above, to end the Ukraine War by agreement between the parties which will result in a long term, or permanent, peace the parties need to agree as follows:
Once the above two points are agreed and come into operation, the parties will agree all the other issues between them through peace-time non-violent diplomacy.
This means that the Russian Federation will also abandon its demands about the status of the Russian language and the Russian Orthodox Church in Ukraine. Such issues will be dealt with through peace-time non-violent diplomacy.
The Russian Federation will abandon its demand that Ukraine will "recognize" the territories which joined the Russian Federation in 2014 and 2022, but Ukraine will not take any hostile actions against the Russian Federation to take over these territories.
The only action that would be legal for Ukraine relating to these territories would be to seek resolution of this issue through a court of law, anything else would would be breach of the peace agreement. But, as no workable international law exists today, they will need to wait till such institutions of international law are established. But, if such courts existed, and Ukraine did apply, then, judging by its present arguments, its applications would fail.
Ukraine will abandon its intentions to join NATO, because NATO is an anti-Russian military alliance, and joining it will be a breach of the peace agreement, as per point (2) above.
Disbanding NATO will also ensure peace and security in Europe, because there is no justification for existence of a military alliance in peace time.
This is the only way to end the war now.