in the right triangle what is the value of pq

The exercise is solved by applying the Pythagorean Theorem, which is:
h²= a² + b²
h: It is the hypotenuse of the right triangle (the opposite side of the right angle and the longest side of the triangle).
a and b: They are the legs of the right triangle (the sides that form the right angle).
You want to find the value of PQ, which is a leg. Then, you have:
h²= a²+b²
a²=h²-b²
a=√(h²-b²)
Let's substitute the values of the hypotenuse (h) and the other leg (b) of the triangle, into the formula a=√(h²-b²):
a=√(h²-b²)
a=√(17²-12²)
a=12 cm
What is the value of PQ?
The answer is: 12 cm