The probability of choosing a red marble is given as 7/12. This probability is the ratio of the number of red marbles to the total number of marbles.
Let's denote the number of red marbles as
.
So, we have the equation:

We can solve this equation to find the value of
.
The solution to the equation is
. Therefore, there must be 49 red marbles in the bag.