The probability of any particular event occurring is the number of desired outcomes divided by the total number of outcomes. In this case, the total number of letters you can pick is 7 (g, e, o, r, g, i, a), and the number of times "g" occurs is 2, so the odds of picking a "g" are 2/7.