How do you apply the midpoint formula when the coordinates are fractions?