The diagonal of a rectangle is 10 inches long and the height of the rectangle is 8 inches. What is the perimeter of the rectangle in inches?