Let the given points be A (−2, 6), B (4, 8), P (8, 12) and Q (x, 24).
Slope of AB = m1 =
Slope of PQ = m2 =
It is given that the line joining A (−2, 6) and B (4, 8) and the line joining P (8, 12) and Q (x, 24) are perpendicular.
Hence, the value of x is 4.