Nets need two overtimes to beat Washington