Pythagorean Theorem and the Law