Answer:
-- Rearrange the equation of Line #1 into the form y1 = A1x1 + B1
-- Rearrange the equation of Line #2 into the form y2 = A2x2 + B2
-- Compare the constants A1 and A2.
If A1 = A2, then the lines are parallel.
If A1 = -1/A2, then the lines are perpendicular.