How to slove scalar products of four vector s

no such thing. scalar product is a binary operation on only two vectors, producing a scalar value.

You could do (a•b)*(c•d) but that's something different.