solution w(t)=-2t+1t=-7