The client asked to arrange the date on image 1 to be like image 2
I did it by using some equation to automate this so whenever we want to add more data we can arrange it in seconds