CDMA : Calculating M from m1 * w1, m2*w2, etc M as Walsh Code, M as Orthogonal COde
You could have given a bit more background and explanation in your question, but as far as I understand your question, $m2$ is your data and $w2$ is the spreading code. The spreading ratio is 4 because the length of the spreading sequence is four times the data length. So you have to stretch out your data by a factor of 4 to line it up with the spreading sequence. Then you can do the multiplication as follows:

$$\begin{array}{rrrrrrrrrrrrrrrrr}m2: &amp; 1 &amp; 1 &amp; 1 &amp; 1
&amp; -1 &amp; -1 &amp; -1 &amp; -1 &amp; -1 &amp; -1 &amp; -1 &amp; -1 &amp; 1 &amp; 1 &amp; 1 &amp; 1\\
w2: &amp; -1 &amp; -1 &amp; 1 &amp; 1&amp; -1 &amp; -1 &amp; 1 &amp; 1&amp; -1 &amp; -1 &amp; 1 &amp; 1&amp; -1 &amp; -1 &amp; 1 &amp; 1\\
\text{result}:
&amp; -1 &amp; -1 &amp;1&amp;1&amp;1&amp;1&amp;-1&amp;-1&amp;1&amp;1&amp;-1&amp;-1&amp;-1&amp;-1&amp;1&amp;1\end{array}$$