Line through the points (2, 6) and (4, 8) is perpendicular to the line through the points (8, 12) and (x, 24). Find the value of x.

Janhavi Patil's image