Solve for w 5(w-1)-2=5w+7