BEC Question

So I am taking progress tests and I keep running into an issue with depreciation. I hope someone can steer me straight. When do you take depreciation into effect on your questions? So like I just answered this question: A. Manufacturing has a tax rate of 40% and the following operating data: Selling price unit $60 V.Cost Unit $22 F. Costs $504,000 They plan to improve the quality and as a result will: increase cost from $3.50 to $5.50 Acquire a $180,000 machine The machine will depreciate over 10 years S/L and the company wants and after tax income of $172,800, they must sell: A) 19,300 Units B) 23,800 U C) 22,500 U D) 21,316 U I was treating the depreciation like and increase to cashflow at $7,200 like you would in NPV and could not get an answer. In the answer it takes the entire 18,000 and adds it to the cost base making your numerator higher. Can someone help straighten me out on this? Why would you not treat depreciation like a cash flow item when you are calculating NPV? Oh yeah, the answer is C.