please answer me x and y

Answer: x=5√3(you've got it correct!)
y=15
In∆ADC,
Cos 60°=DC/10
DC=5
y=20-5
y=15
Answer:
Step-by-step explanation:
Look at the picture.
ΔABC, ΔDBA and ΔDAC are the triangles 30° - 60° - 90°. The sides are in ratio 1 : √3 : 2.
Therefore
DC : AD : AC = 1 : √3 : 2
If AC = 10, then DC = 10 : 2 = 5 and AD = x = 5√3
AD : BD : AB = 1 : √3 : 2
If AD = 5√3, then AB = 2 · 5√3 = 10√3 and BD = y = 5√3 · √3 = 5 · 3 = 15