It sounds like you are asking about calculating theoretical stages for distillation of a binary mixture using the McCabe-Thiele method, which includes calculation of the q line from the composition of the feed. The parameter q is the mole fraction of liquid in the feed and the slope of the q-line is q / (q - 1). The q line passes through the point defining the composition of the feed on the x=y line drawn on the diagram. For more details on the McCabe-Thiele method, see the attached link.