Kyrie Irving scored 42 points and the Brooklyn Nets beat the Houston Rockets.