Answer:
Part 1)

Part 2)

Explanation:
see the attached figure with letters to better understand the problem
In the right triangle ABD
Find the length side BD


we have


substitute the given values


In the right triangle DBC
Find the length side BC


we have


substitute the given values


therefore
The value of x is

In the right triangle DBC
Find the length side DC


we have


substitute the given values


therefore
the value of y is
