We want to compare the theorem to the expressions in our figure. In our case, 12 is the length of the altitude, and 24 and ( t+1) are the lengths of the partial segments of the hypotenuse.
AD/CD = CD/DB
⇔ t+1/12 = 12/24
Now, we can find the value of t.