The subsequence problem and distance between points in a plane problem solutions