Pythagora's Theorem Generalization