the income tax in country x is 8 % of any income up to $ 5000 . for incomes over $ 5000 , an 8 % tax is imposed on the first $ 5000 , and a 10 % tax is imposed on the portion of the total income in excess of $ 5000 . if perry paid $ 950 in income tax last month , then what was perry ' s income ?