Pythagorean theorem
Note that from Pythagorean theorem,