A piece of property has the shape of a right triangle. the longer leg is 10m shorter than twice the length of the shorter leg and the hypotenuse is 20m longer than the length of the longer leg. find the length of the sides of the triangle