In the given figure, we have two right angled triangles:
1) Triangle ABC
2) Triangle CDB
Using pythagorean theorem, we can write equations for both triangles.
For triangle ABC:

For triangle CDB:

Using the value of y² in the first equation, we get:


Thus the d option gives the correct values of x and y