How I can calculate the cost by using P6?