Based on AA Theorem, which says that if the two given angles of both triangles are equal, then they are similar, in this case, triangle ADB and triangle BDC are similar.
If two triangles are similar, that means their side length are proportional.
Let us first solve for x:
Now using the pythagorean theorem, we get that
So x = 6.75 and y = 11.25
Hope that helps!