Correct. Sketch a diagram as shown below, and use the Pythagorean Theorem.