I'm new to Riemann surfaces, but if there are indeed 2 branching points at -5 and 5, and the degree of w is 2, then the genus, g, for the surface is 2 = 2(g+2-1). So, g = 0. We're definitely looking at a sphere! If you're certain the path is figure 8 and encircles the branching points, I think...