integr+math---parallel-perpendicular

slope of parallel lines are the same

slope of perpendicular lines are the negative reciprocal of each other

y - y1 = m ( x - x1 )

m = slope