A borrows a certain amount of money from B at simple interest of 15% for two years and lends it to C at the compound interest of 15% for the same period. If A makes a profit of Rs. 90, then the amount he borrowed from B is?
a. Rs. 900
b. Rs. 3000
C. Rs. 4000
d. Rs. 6000