you have to know your bcd
https://www.bikeman.com/bicycle-repa...-chainring-bcd
I would also replace the cassette and chain at the same time, I see that you installed a new one but just to be sure i would probably replace it any way
that way everything is new and fits