Red beads cost $1 an ounce and gold beads cost $3 an ounce. Juanita wants to purchase a 12-ounce mixture of red and gold beads that she can sell for $2 an ounce. The solution of the system shows the number of beads needed for Juanita to break even.

x + y = 12,

x + 3y = 24

How many ounces of red beads will Juanita buy to break even?
How many ounces of gold beads will she buy?