Another way of doing it, if you're like me and you don't like equations, is to plug in the answer choices for X and Y.
If the average of X and Y is, say, 95, it doesn't really matter what those numbers are individually, since we know that they will add up to 190 (95*2). By plugging in 190 for X and Y in the answer choices, we find:
The average of X, Y, and 20 is 70, or (190+20)/3
The average of X, Y, 20, and 30 is 60 (190+20+30)/4
Thus, since the average of the first set is 10 more than the average of the second set, 95 must be the correct answer. If you were to plug in other answer choices, the numbers would not work out such that the average of the first set is 10 more than the average of the second.
Doing it this way vs. using equations might take some more calculations, but I think it's harder to make a mistake when you're plugging in. I could easily see a test taker messing up either setting up those equations or not solving them correctly.
Jim S. | GMAT Instructor | Veritas Prep