Here's what you need

Set up a HomePod stereo pair

When you set up a second HomePod in the same room as another HomePod, you'll see an option during setup to use both speakers as a stereo pair. You can also set up a stereo pair with two HomePod speakers in the Home app on your iPhone, iPad, iPod touch, or Mac.