Note:
1. Condition for paralleleism of lines AB and CD
m(AB) = m(CD)
That is both lines AB and CD have equal slopes
2. Condition for perpendicularity of lines AB and CD
m(AB) = -1 / m(CD)
The slope of a line is calculated by using the formula:
Let us calculate the slopes of lines AB and CD and see which of the two conditions above is met.
For line AB:
A(-3, 8) and B(3, 2)
For line CD:
C(7, 1) and D(5, -1)
You would see that m(AB) = -1