mary invested a certain sum of money in a bank that paid simple interest . the amount grew to $ 260 at the end of 2 years . she waited for another 4 years and got a final amount of $ 380 . what was the principal amount that she invested at the beginning ?