The length of a subsection of an ellipse is an elliptic integral without a closed-form solution.
To calculate the distance along the ellipse, you need a numerical integration procedure. I recommend Romberg, or Gauss Quadrature (look at Wikipedia). If you do this repeatedly, then first compare the distance between a bunch of points around the ellipse so that you can quickly get to the desired area, and then start integration.
To find the desired length, you will need to work (find on Wikipedia).
source share