So, to do that, first look at the symbol before the parenthesis.
In this case it's a -.
So when it's a -, reverse the symbol inside the parenthesis. (This is because if you don't you're subtracting 2x and then adding 8, when really you're subtracting both 2x and 8.)
Because of the -2 at the end of the function, we know it is shifted down. The +1 means it is shifted left. The answer is the last graph (the one with a y-intercept of -1).