What is the agreement between northern and southern states: admitted California as a free state and New Mexico and Utah…

What is the agreement between northern and southern states: admitted California as a free state and New Mexico and Utah could vote on slavery