Hello!
Here we are given a composite shape, meaning that we can divide this shape up into ways that we are given formulas to solve for legs and such.
I can see here that this can be divided into a triangle and a rectangle using a horizontal line.
The leg lengths of this triangle would be 9, because it is congruent to the bottom side of the rectangle, and 7, because it is the left side minus the right side.
This would also make a right triangle, meaning we could solve for the hypotenuse utilizing the Pythagorean Theorem.
Which is in simplest radical form.
Hope this helps!