Zoom Communications interview question

Given an Array of numbers, process the array and return sums based on the question they ask.