Tetrahedral Analog of the Pythagorean Theorem