How to calculate net income with assets and liabilities and common stock