The basic accounting formula is as follows:
Liabilities + Equity =Assets.
You can further analyse the equity as follows:
Equity= Capital Contribution + Retained Earnings.
You can also further break down the retained earnings as follows:
Retained Earnings=Profits from previous year+ Net profit for this year-Dividends paid