https://www.gregmat.com/problems/quant?problem=the-inner-product-of-xy
how did you simplify the final equation to 5?