Bhagwanti inherited Rs 12000 . She invested part of it as 10 % and the rest at 12 %.Her annual income from these investments is Rs 1280 .How much did she invest at each rate ?