Sarah invested $500 in a stock. The value of the stock increased by 20% in the first year and then by an additional 25% in the second year. After these two years, she decided to sell 50% of her investment. How much money did Sarah receive from selling her investment? Let's think step by step and output the final answer within \boxed{}.
user