This program calculates the coordinates of a point P lying on a straight line defined by two points 1 and 2 of given coordinates; as well as the distance L from point P to point 1 is known. The program also defines the coordinates of a point Q located on a line perpendicular in P to line 1-2 and at a distance H from point P.