What is the value of w in the equation 12w+7=2w2?