Answer:
7 red scarves and 5 white scarves were sold
Step-by-step explanation:
set up 2 equations where x represents white scarves and y represents red scarves
equation 1: 3x + 5y = 50
equation 2: x + y = 12
change equation 2 to x = 12 - y
substitute x into equation 1: 3(12 - y) + 5y = 50
distribute: 36 - 3y + 5y = 50
2y = 14
y = 7
substitute y back into one of the original equations
x + (7) = 12
subtract 7 from both sides to find x
x = 5