Answer : The greatest number of red marbles is 24.
Explanation:
Let the number of red marbles be x
Let the number of blue marbles be y
Since we have given that sum of blue and red marbles is atmost 36
i.e. x+y ≤ 36 (Equation 1)
and we have also given that red marbles is twice of blue marbles .
i.e. x= 2y ( Equation 2)
By putting the value of x from( Equation 2) in ( Equation 1) ,
we have,
2y+y ≤ 36
⇒ 3y ≤ 36
⇒ y ≤ [tex]\frac{36}{3}[/tex]
⇒ y≤ 12
Now, we put the value of y in Equation 1
x+ 12 ≤ 36
⇒ x ≤ 36-12
⇒ x ≤ 24
So the greatest number of red marbles are in the bags is 24 .