A duplex is a pair of dwellings sharing a common wall.