The commission earned by the real estate agency is 4.5% of the sale price of the house:
Commission earned by agency = 4.5% of $395,000
Commission earned by agency = 0.045 x $395,000
Commission earned by agency = $17,775
The commission earned by the agent is 30% of the commission earned by the real estate agency:
Commission earned by agent = 30% of $17,775
Commission earned by agent = 0.30 x $17,775
Commission earned by agent = $5,332.50
Therefore, the agency made $17,775 on the house, and the agent earned $5,332.50 in commission.