Find the cost when you know price and margin