I did problem but would like someone to see if I did it correctly.

triangle ABC similar to ADE by AA theorem need x and y. start at B and go rt. around the 2 connected triangles
BA=12; (AD 8 with rest of line =y so have ADC = 8+y; CD = 9. Line DE = x. <D = 90 deg. So have one triangle with ED intersecting BA & BC = 2 triangles. I got x=6 and y=1. Correct?

I can't follow your description