and

being given,

is chosen such that the sum of the distances

and

is as short as possible. This incomplete suggestion will suffice for our present purpose.