Retirement tax questions

Was this a 2017 contribution returned in 2018?
Is this a 2018 1099-R?
What code is in box 7 on the 1099-R?
What is in box 1 and 2a?
**Disclaimer: This post is for discussion purposes only and is NOT tax advice. The author takes no responsibility for the accuracy of any information in this post.**