Right Isosceles Triangle ABC has a hypotenuse of length h.
Line segment DE is a midsegment with length 4x.
What is the perimeter of triangle ABC?

a. 16x+h
b. 12x
c. 8x+h
d. 24x