Determining Profit and Material Cost