Shape of band diagram; Doping and devices, problem 4.1

I can’t figure out how to construct the band diagram of the more complex band structure of problem 4. Could someone help me out?