x = 15
y = 21
First, solve for x on the right side triangle by adding angles and equaling to 180.
Now since you know the x value, solve the middle angle for the left side triangle. Add all angle on left triangle and equal them to 180.
Check out the pic.