The correct answer is A. 6.89 %.

Let's break down the question:

  • A farmer selling eggs at 50 pesos a dozen gains 20%.
  • This means that the farmer's cost price for a dozen eggs is 50 / 1.2 = 41.67 pesos.
  • If the costs of the eggs rises by 12.5%, the new cost price for a dozen eggs is 41.67 * 1.125 = 46.6875 pesos.
  • If the farmer sells the eggs at the same price of 50 pesos a dozen, his new gain will be 50 - 46.6875 = 3.3125 pesos.
  • This means that his new gain in percent is 3.3125 / 46.6875 * 100 = 6.89%.

Here is a table showing the cost price, selling price, and gain for each scenario:

| Scenario | Cost price | Selling price | Gain | Gain in percent | |---|---|---|---|---| | Original | 41.67 pesos | 50 pesos | 8.33 pesos | 20% | | New | 46.6875 pesos | 50 pesos | 3.3125 pesos | 6.89% |

I hope this helps!