what is the method for calculating earned income by IRS for people receiving social security in Retirement tax questions