Answer:
6 or 9
Explanation:
Let the number of green pens =x
There are three more red pens, therefore:
The number of red pens =x+3
Total Number of pens =x+x+3=2x+3
The probability that sheila will take two pens of the same color =

Therefore, we have that:


Therefore, the probability that sheila will take two pens of the same color
=P(RR)+P(GG)

Cross multiply
![35[(x+3)(x+2)+x(x-1)]=17[(2x+3)(2x+2)]\\35[x^2+3x+2x+6+x^2-x]=17[4x^2+4x+6x+6]\\35[2x^2+4x+6]=17[4x^2+10x+6]\\70x^2+140x+210=68x^2+170x+102\\70x^2-68x^2+140x-170x+210-102=0\\2x^2-30x+108=0](https://img.qammunity.org/2021/formulas/mathematics/high-school/1b1m31bb8rxpw4ydicjoxze8uv1dheplch.png)
Factorizing, we have:

Therefore, the two different numbers of green pens that could be in the box are 6 or 9.