Pythagorean triplets, properties of similar triangles