Step-by-step explanation:
Let the required number be x.
Therefore according to the given information:
[tex]x - 6 = 2 \\ \\ \therefore \:x = 2 + 6 \\ \\ \huge \purple{ \boxed{\therefore \:x = 8}}[/tex]