How To Calculate The Total Cost