Triangle properties or Pythagorean theorem