Sum of two arrays challenge

hi could you explain the output of the question, i didnt get it

You have to calculate sum of arrays, index by index.
basically, you have to traverse the arrays, from right to left and u have to maintain two variables as sum and carry,
thus u have 9+7=16, sum=6, carry=1
2+6+1=9, sum=9, carry=0;
0+5 =5, sum=5, carry=0;
4+1=5, sum=5, carry=0;
3, since 1st array is fully traversed,

thus output is : 3, 5, 5, 9, 6