Using the ratio cosine with the length of the adjacent side of angle 45° to find the hypotenuse (y), we have:

Using the ratio tangent with the length of the adjacent side of angle 45° to find the opposite length, we have:

The answers are x=13 and y=18.4