How would you calculate how many streetlights illuminate each point on a one-dimensional line segment?