A software programmer does 20% of the work in 60% of the time, and 80% of the work in the remaining 20% of the time. If the code he writes is X lines long and he was given one month (30 days) to accomplish the task, then, assuming that the programmer works at a constant rate in each of the two stages, How many lines of code were written in the last two weeks, in terms of X? Choose the correct choice from the following choices: A) 13x /15 B) 15x/15 C) 7x/15 D) 2x/30 E) 13x/30
Take X=30 lines   80% of 30 = 24 lines   20% of 30 = 6 lines   W - R - T   6 lines - r1 - 24 (first 80% of the 30 days)   24 lines - r2 - 6 ( last 20% of the 20 days)   r1 = 1/4r2 = 4   Now Work in last 14 days = 6 days programmer worked at r2 + 8days programmer worked at r1   =&gt; 6 * 4 + 8 * 1/4 = 24 + 2= 
<gadget id="calculator">24 + 2</gadget>
<output>26</output>
26   Insert, X=30 in all options =&gt; 2x/30 is the answer.
<result>D</result>
A software programmer does 20% of the work in 60% of the time, and 80% of the work in the remaining 20% of the time. If the code he writes is X lines long and he was given one month (30 days) to accomplish the task, then, assuming that the programmer works at a constant rate in each of the two stages, How many lines of code were written in the last two weeks, in terms of X?