\(\text{let }u = (a,c,e),~v = (b,d,f)\\ \text{we are given that }\\ u\cdot u + v\cdot v = 6\\ u\cdot v = 3\\ \text{and we are asked for max of }(u+v)\cdot (1,1,1)\)
\(\text{By Cauchy-Schwarz}\\ |(u+v)\cdot(1,1,1)|^2 \leq (u+v)\cdot (u+v) \times (1,1,1)\cdot (1,1,1) = \\ (u\cdot u + v\cdot v + 2u\cdot v)(3) = \\ (6+2(3))(3) = 36 \)
\(\text{so }(u+v)\cdot (1,1,1)\leq 6 \\ \text{with the maximum occurring at 6}\\ \text{thus the maximum of }a+b+c+d+e+f = 6\)
.