According to your headline I assume that you want to calculate the length of the curve of the function from 2 to 8 (?).

You know that the length l of the arc can be calculated by:

1. Determine the first derivative. I've got:

2. Calculate (y')²

3. Calculate

4. Now calculate the arc length:

5. I've got: