in reply to confused with summing certain elements from an array
“You don't know where|how to begin?” Of course you don't! How many years so-far have you been doing this? Precisely my point. It's just like how you get to Carnegie Hall: practice.
So, your brain is trying to grapple with this new task, this new way of thinking, and it's faced with a high-pressure situation that demands you to solve a problem when no immediate solution-path presents itself. Do not let yourself panic.
When those snatches of ideas start to come out of that gloom, invite them over. Don't grab 'em and try to jerk them into the light. Woo them a little. Give 'em time. That's how your brain learns new skills.