It was a well timed triple shot for me.

first shot to the left to get out of the middle.

second shot to reposition the yellow orb slightly down.

next three shots with a few seconds delay between them all to the left and rebound. the second slightly angled down.

before the first of those hits move to the first goal, wait out the second hit in the trapped location, and move to the second goal before the third shot reaches the right red orb.