How can I calculate vectors for a Spread Shot on 2d SideScroller?

Much appreciated, Thank you!