Sales were $600,000, gross profit was $220,000, operating expenses were $120,000, and the income tax rate is 30%. Calculate the cost of goods sold and net income.