Show that the shortest path between two given point is given by a straight line

Show that the shortest path between two given point is given by a straight line

show that the shortest path between two given points in a plane is given by a straight line, using plane polar coordinates