Rahim invested a certain sum at 5% simple interest for 3 years. His friend Hiralal invested the same sum for 2 years at 7% simple interest. Rahim got Rs. 30 more interest than Hiralal. What was the amount invested by them?
1. Rs. 2,000.00
2. Rs. 3,000.00
3. Rs. 5,000.00
4. Rs. 7,000.00