To find the solution we need to remember the following definitions:
Suposse c>0. To obtain the graph of:
• f(x)+c, shift the graph of f(x) a distance c units upward.
,
• f(x)-c, shift the graph of f(x) a distance c units downward.
,
• f(x-c), shift the graph of f(x) a distance c units to the right.
,
• f(x+c), shift the graph of f(x) a distance c units to the left.
Then to translate the function given with the specifications we need to substract a two to the whole function, and add a six to the variable. Then we have:

Therefore, the answer is B.