Calculate the Cost Price