Arrays - Sum Of Two Arrays

what is the logic behind adding two arrays of different sizes ?