Samantha has a part-time job where she earns $12 per hour. She also does some freelance work where she earns $20 per hour. If she worked a total of 10 hours last week, some of which were at her part-time job and some as a freelancer,
Let $x$ be the number of hours she worked at her part-time job and $y$ be the number of hours she worked freelancing.
Write a system of equations to represent the situation and then determine how many hours she worked at her part-time job. Provide your answer as a grid-in response.
Note that we have the equations:
1. $x + y = 10$ (total hours worked)
2. $12x + 20y$ (her total earnings which is not needed in this case to determine $x$)