https://fr.etudes.ru/etudes/pythagorean-theorem/