Pythagorean theorem in tangram puzzle