Doncic converted two free throws with 7.9 seconds left, leading the Mavericks past the Warriors 107-101.