Not able to get what to do

Pythagoras triplet I am getting some formula on internet. Can you please tell me how to prove that formula or explain this coding questioin

@devfest2021_ca0dcbd15233fafb You can refer to below video for explanation.