The perimeter of an isosceles right triangle is 16+16√2 ((if you cant read that it is 16+16 * square root 2)). What is the length of the hypotenuse?

I understand that it should be 2x + x√2 = 16+16√2, but not sure how to solve it.

Any help would be great thanks!