https://en.etudes.ru/models/@pythagorean-theorem