Suppose that AC=15 and BC=9. What is AB?

it will help you if you drew the line out!

A----B-------C

AB + BC = AC

solve for AB.