Yi AB
Let the symmetry point N 1 with the symmetry axis n connect MN 1, AB intersects at point P, and point P is the demand.
Because PN=PN 1 (easy to prove). MN 1=PM+PN (the shortest straight line between two points).