we have that

we know that
If two lines are parallel
then
their slopes are equals
and
if two lines are perpendicular
then
the product of their slopes is equal to 

step 1
find the slope of the line segment AB 



step 2
find the slope of the line segment CD 




therefore
the answer is
Line segments AB and CD are perpendicular