Solution LT.C20 Robert Beezer
In both cases the result will be $\lt{S}{\vect{w}}=\colvector{9\\2\\-9\\4}$.