What are the steps to solving this problem???

The second problem was written wrong. It should have been, If CD= 15, what is the length of AE?

I now understand how to do the first problem. But how do I apply it to solving the second one?

I changed the image to shows the correct question.