Answer:
Both X and Y are equal to 15 multiply by the square root of 2.....(i just do not know how to type the symbol on my keyboard) 
Explanation:
So for X:
X=30 sin 45
 =15 multiply by the square root of 2 
For Y:
Y=30 cos 45
 =15 multiply by the square root of 2 
But you could also use theorem of Pythagoras