Let the interest amounts on both loans become equal after \(x\) years from the time the first loan was taken. Therefore, the interest on the first loan is: \[ \frac{500 \times x \times 6}{100} \text{ rupees} \] For the second loan, the time is \((x - 2)\) years. So, the interest on the second loan is: \[ \frac{900 \times (x - 2) \times 4}{100} \text{ rupees} \] According to the question: \[ \frac{500 \times x \times 6}{100} = \frac{900 \times (x - 2) \times 4}{100} \] Solving: \[ 30x = 36x - 72 \Rightarrow -6x = -72 \Rightarrow x = 12 \] Therefore, the interest amounts on both loans will be equal 12 years after the first loan was taken. At that time, the total interest on both loans will be: \[ \left\{ \frac{500 \times 12 \times 6}{100} + \frac{900 \times (12 - 2) \times 4}{100} \right\} = \left\{ 360 + 360 \right\} = 720 \text{ rupees} \]