vyzvam 0 Newbie Poster

Goo day all, i need a solution for the following scenario.
I have a table, let's call it "sales" and i want to create a sql that will produce a detailed summary. below is the sample data (image 1)and how i want the end result to look like (image 2)

I have attached the images with this post

Note: Not worry of the result format, I'm only interested in the sql statement that will produce the result.

A solution is greatly appreciated, thanks !!