Hi there!
Since we have a right-angled triangle, we can use the Pythagorean Theorem to find our answer. The Pythagorean Theorem states the following:

In this formula a and b represent the legs of the triangle and c represents the length of the hypotenuse.
Let's substitute our data from the question.

Square.

Add.

And finally take the root of both sides. We only need to use the positive solution, since the length of the hypotenuse can't be negative.

The answer is B.