Freezer and Fridge will not cool

Purchased in 2008. Noticed that temperature was dropping in both fridge and freezer. Took everything out of the fridge and freezer and unplugged it. Noticed that there was ice behind the freezer panel (on the coils), let that defrost and plugged fridge back in. Fridge and freezer went from 54 to 16 degrees. Then it stopped and starting going up to 18 and now it’s at 22.

What could be wrong with it? It’s cooling but only until it hits 16.