Question: how do damon and elena end up together?
Answer: After Stefan gives Damon the cure to vampirism, turning him into a human, and Bonnie unbreaks the spell on Elena, Damon and Elena finally reunite. They begin their life together, getting married while Elena goes to medical school and becomes a doctor.