Below I will be describing all the tables which I will be using.
The first table is the Base table on which we have to calculate the cost.