What is the value of w in the equation #1/2w+7=2w-2#?