An exactly solvable model for emergence and scaling laws