Retirement tax questions

Thank you!

So, I should report both 500$ Roth contribution and removal of it with earnings using 1099-R? Just want to confirm.