At a real estate​ agency, an agent sold a house for ​$311,000. The commission rate is 5.5​% for the real estate agency and the commission rate for the agent is 20​% of the amount the real estate agency gets. How much did the agency make on the​ house? How much did the agent earn in​ commission?