Understanding Tax Laws for Real Estate Investors