A unified model for the spatial and mass distribution of subhaloes | Synapse