Question: what is it called when two houses are connected?
Answer: Two-family or duplex: two living units, either attached side-by-side and sharing a common wall (in some countries, called semi-detached) or stacked one atop the other (in some countries, called a double-decker)