Jaxon is building a brace for a wall shelf. It is in the shape of a right triangle. He has cut one leg to be 18 inches long and the other leg to be 2 feet long. How many inches long must the last piece of lumber be?