Hi Leah,
Let X = the number of right handed gloves and Y = the number of left handed gloves.
12 gloves were sold, so X + Y = 12 and X = 12 - Y
Now multiply the cost of each glove by the number of gloves and set the total equal to 561
45X + 52Y = 561
Now substitute 12 - Y for X--> 45(12 - Y) + 52Y = 561
540 - 45Y + 52Y = 561
540 + 7Y = 561
7Y = 21
Y = 3
Then X = 9
Plug the numbers back into the problem to make sure they work.
Have fun.
Dan