The buildup of galaxies and their spheroids: The contributions of mergers, disc instabilities, and star formation | Synapse