There’s a browser plugin that lets you customize your YouTube layout to be closer to how it was a few years ago, including how many videos per row. It’s not a perfect recreation, but I quite like it.
Alternatively, you could use any of the various YouTube frontends available. I like Invidious.
It has plenty of options for customization. It doesn’t have settings for specific layouts, but you can probably replicate it. It might take some trial and error.