The question is expressed in the title. Directly using ordinary least square fitting is not a good idea, because the intercepts are different among these lines, and a single linear equation is unreasonable. Is there any good mathematical method to solve this problem?