Probability is determined by the number of desired answers divided by the total number of answers. There are 12 possible balls you can draw so the denominator will be 12, there are 4 red balls and 3 green balls, so there are 7 balls that fit the requirement of being either red or green.