Question: who was brenda got a baby based on
Answer: Shakur wrote the song when he read a newspaper article about a twelve - year - old girl who became pregnant from her cousin and threw the baby in a trash compactor .