Step 1: Finding slopes of given lines
Let the given points be
A(−2,6), B(4,8), C(8,12) and D(x,24)
We know that slope of a line through the points (x1,y1),(x2,y2) is m=y2−y1x2−x1
Here, x1=−2,y1=6, x2=4,y2=8
Slope of AB=8−64−(−2)=24+2=26=13
Slope of line CD passing through
C(8,12) and D(x,24)
Here x1=8,y1=12, x2=x,y2=24
Slope of CD=24−12x−8=12x−8
Step 2: Solve for value of x
We know that if two lines are perpendicular, then the product of their slopes is −1
So, Slope of AB × Slope of CD=−1
⇒13×(12x−8)=−1
⇒4(x−8)=−1
⇒4=−(x−8)
⇒x=4
Final Answer :
Therefore, the value of x is 4