Question: how to addition three parameter in one equation?

i need to addition my equation like that,but this does not working. i try to use the >'add(add(add(x*y+y*z+z*x+a,x=x1),y=y1),z=z1);' but get the wrong answer, the 'a' addition 4-times. this is my original procedure: > x1:=[1,2,3,4,5,6,7,8,9]; x1 := [1, 2, 3, 4, 5, 6, 7, 8, 9] > y1:=[9,8,7,6,5,4,3,2,1]; y1 := [9, 8, 7, 6, 5, 4, 3, 2, 1] > z1=[4,5,6,3,2,1,9,8,7]; z1 = [4, 5, 6, 3, 2, 1, 9, 8, 7] > eq1:=add(x*y+y*z+z*x+a,{x=x1,y=y1,z=z1}); # 'a' is a const. Error, wrong number (or type) of parameters in function add
Please Wait...