It is clear you need a new middle chainring, very odd wear pattern of some teeth being more worn down than others.
I am not sure what your bolt circle diameter is. I assume 110mm but you should check.
https://www.sheldonbrown.com/cribsheet-bcd.html
How much do you want to spend? You could just buy the rings you need or a cheap crankset if you wanted to go low budget. You should easily be able to find a replacement chainring in the 20 something price range for the middle, it might lack the pins and ramps but it would work. Or you can go high budget too.
If you change cranksets, you might need a different bottom bracket to get correct spindle length for your chainline.