Given:
Principal (P) = 150000 rupees,
Rate of interest (R) = 10%
Time (T) = 2 years
Total interest (I) =
= 30000 rupees
Now, total amount = P + I
= 150000 + 30000
= 180000 rupees
Hence, Pankaj will get the total amount of 180000 rupees from the bank.