You have to do a little equation solving here.
If you want a value of x to be equal to 4, you take the function -2x+2 and make it equal to 4 so you have -2x+2=4.
Your turn to solve it.