Doubt by Rohan Rajan

sir in second case why 20 is subtracted from 15 ?