\( \definecolor{colordef}{RGB}{249,49,84} \definecolor{colorprop}{RGB}{18,102,241} \)
Given the points \(A(-1, 5)\) and \(B(3, -1)\) on the Cartesian plane. Use complex numbers to find:
  1. the distance \(AB\)
  2. the midpoint of the segment \(\SegmentFr{AB}\).

Capture an image of your work. AI teacher feedback takes approximately 10 seconds.