find the values of x and y pls help

Answer: x = 39°, y = 5
Step-by-step explanation:
∠ADB and ∠CDB are same which means it's 90 degrees
and the triangle is isosceles, so ∠A=∠X and ∠ABD=∠CBD
180= ∠A + ∠B + ∠D
180= 51 + 90 + ∠D
∠D = 39 = x
for y I told you this is the isosceles triangle
so , AD = DC