Retirement tax questions

I'm doing my 89-year old mother's return and have been for years.  I, too, don't remember this question coming up.  ALL of her contributions were made while being a teacher in NY.  She moved to MA in 2014, having received RMDs from this IRA since living in NY. 

 

SO, for question #1, is it the total of what she's received while living in MA (since 2014)

And for question #2, is it the same amount as in #1 since previous distributions were taxed in NY?

I have NO WAY of determining what she actually contributed from when the earth cooled until she retired in 1987. 🙂

Thanks!

Holly