Since it is stated that angle x forms a straight line with the 50 and 50 degree angles, and that angle x is vertical to angle y, we can do 40+50+y=180 to find angle Y.
Are you able to expand everything first? from there you would be able to combine line terms. basically if you have 3x+2x it would combine to 5x because they have x in them.