John and Cindy were each given X dollars in advance for each day they were expected to perform at a community festival. John eventually performed on all 25 days of the festival, while Cindy performed on 5 fewer days than John performed. If Cindy gives John y dollars of her advance payment so that they would have each received the same daily rate, what was John paid in advance, in terms of Y?
Choices
A) 12Y
B) 11Y
C) 9Y
D) 10Y
E) 8Y
Both of them were given X $ each   9Yindy to adjust Y $ in advance to John   So 9Yindy now has (X-Y)$ and John has (X+Y) $ such that their daily rate becomes same   So Rate of 9YIndy= Rate of John   Also , 9Yindy works for 20 days and John works for full 25 days   (X-Y) / 20 = (X+Y) / 25   Solving 25x-25y=20x+20y =&gt;5x=45y =&gt; x=45/5= 
<gadget id="calculator">45/5</gadget>
<output>9</output>
9Y   Answer : 9Y
<result>C</result>
John and Cindy were each given X dollars in advance for each day they were expected to perform at a community festival. John eventually performed on all 25 days of the festival, while Cindy performed on 5 fewer days than John performed. If Cindy gives John y dollars of her advance payment so that they would have each received the same daily rate, what was John paid in advance, in terms of Y?