find the value of x and y

x+y=12
45x+52y=561
a sporting goods store sold right hand and left hand batting gloves.12 were sold in a one month period for $561.right handed gloves are $45 and left handed gloves are $52.how many of each were sold?

Please only post your questions once. Repeating posts will not get a quicker response. In addition, it wastes our time looking over reposts that have already been answered in another post. Thank you.

To find the values of x and y, we can solve the system of equations:

Equation 1: x + y = 12
Equation 2: 45x + 52y = 561

There are different methods to solve this system, but let's use the substitution method:

Step 1: Solve Equation 1 for x (in terms of y).
x = 12 - y

Step 2: Substitute the value of x in Equation 2.
45(12 - y) + 52y = 561

Step 3: Simplify and solve for y.
540 - 45y + 52y = 561
7y = 561 - 540
7y = 21
y = 3

Step 4: Substitute the value of y back into Equation 1 to find x.
x + 3 = 12
x = 12 - 3
x = 9

Therefore, there were 9 right-handed batting gloves and 3 left-handed batting gloves sold.