We are given a right triangle and we are asked to determine the length of the hypotenuse AB. To do that we will use the Pythagorean theorem:

Now, we plug in the known values:

Now, we solve the squares:

Now, we add the values:

Now, we take the square root to both sides:

Solving the operations:

Therefore, the length of AB is 17 cm.