Which of the following best summarizes why the Missouri Compromise needed to be replaced by the Compromise of 1850?

Members of Congress wanted to end the question of slavery in the U.S.
The U.S. wanted to sell the territory gained after the Mexican-American War to build railroads, and the Missouri Compromise prevented it.
Congress decided that the people should be able to decide whether the territory gained in the Mexican-American War should be allowed to have slavery.
The territory gained after the Mexican-American War was mainly below the Missouri border, and U.S. leaders believed slavery would be necessary to ensure settlement.