Determining Line Relationships