Calculate slopes of the segments KM and ST. If slopes are the same, then the lines are parallel. If the slopes are opposite reciprocal (as 2 and ), then the lines are perpendicular. If NEITHER, then NEITHER.