There's a number of ways. You could select all surrounding edges (double click on edge) and Mesh > Fill Hole, then re-introduce the divisions with the split poly tool. Or you could select the top three edges on both sides and use the bridge tool with 0 divisions, finishing up with the holes on each side with Mesh > Fill Hole. I'm sure there's other methods, but give one of those a try.