Look for a clean-out plug along the street ... Mockup sections of the drain system and lay them out on the basement floor, using sections of pipe and an assortment of fittings.
If either becomes plugged or overloaded, sewage backs up and flows out of the lowest available drain. That’s usually a floor ...