A school needs to buy new notebook and desktop computers for its computer lab. The notebook computers cost $300 each, and the laptop computers cost $350 each. How much would it cost to buy 18 notebooks and 12 desktop computers? How much would it cost to buy nn notebooks and dd desktop computers?