if the leg of a right triangle haves the lengh of 6