It's simpler than you might think to build wealth in the stock market.