TITLE: Extremal problem with variable quantity of points on rays