Retirement tax questions

Thanks, So How Do I figure how much was taxed by NJ in prior years? My current $6k contribution is after tax so Can I put $6k as taxed by NJ? My traditional IRA has 50k balance out of which 45k is rollover from old 401k. Rest 5k  is contribution + earning.