Square in the right triangle