-I think velocity is not conserved in either collision because when they hit each other the energy transfers to one another. Am i right?
Energy is conserved in an elastic collision, not in an inelastic collision.
You can ask a new question or answer this question.