Emma bought a computer for $1,200. She decided to upgrade it by purchasing additional components. The first component cost $300 and the second component cost 25% more than the first component. She managed to get a 10% discount on the total cost of the components. What is the total amount Emma spent on upgrading her computer? Let's think step by step and output the final answer within \boxed{}.
user