Please Explain the editorial of Problem :Equivalent Exchange of Triangles

link of the problem :;problem link
editorial link:LEQEX - Editorial