Answer:
1- If the coordinates of C and D are given:
If the coordinates of C and D are given as:
C = (x₁,y₁)
D = (x₂,y₂)
We can simply get the slope using the following formula:
slope =
2- If the coordinates of A and B are given along with a relation between the two lines:
a- We will get the slope of AB using the formula above
b- If we are given that AB is parallel to CD, then:
slope of CD = slope of AB
c- If we are given that AB is perpendicular to CD, then:
slope of CD = 1 / (slope of AB)
Step-by-step explanation: Hope it helps and have a good day :)