The hypotenuse of the right triangle is 1 in. more than twice the longer leg. The length of the shorter leg is √10 in. Find the length of the longer leg.​