TOPIC: Update variables‏

I need again help.
The question Q11 is a type of array numbers
The question Q12 is the same type.
I have a question hide with a script to charge the sum of the two variables.
Q11 -> x1
Q12 -> x2
Script -> x1+x2= y1
<script type="text/javascript" charset="utf-8">