Kyrie Irving had 35 points and Cooper Flagg chipped in 33 to help the Dallas Mavericks beat the Houston Rockets 116-111.