Monogamy and entanglement in tripartite quantum states