Each instalment = Rs. 5,115
Rate of interest = 20 % per annum = 10 % per half yearly
The amount of Rs. 5,115 paid as an instalment at the end of the first six months includes the principal and interest on it at the rate of 10 % half yearly.
Therefore,
Principal = 5115÷(1+10100)=Rs.4,650
Similarly, the value which amounts to Rs. 5,115 after 1 year at the rate of 10 % compounded semi-annually is
5115÷(1+10100)2=5115(100110)2
=Rs.4,227.27
Therefore, sum borrowed = 4650+4227=Rs.8,877 (approx.)