Rupesh invests Rs. 45,000 partly in Rs. 150 shares at Rs. 180 for 8% and partly in Rs. 75 shares at Rs. 135 for 12%. If the annual income from the investments are in the ratio 2 : 3 respectively, then find the investments made by Rupesh in the two types of sphares.