What you need to understand about real estate agent commissions before buying or reselling