If the slope of the line joining the points A(x, 2) and B(6, -8) is , find the value of x.
If a line passing through then slope of the line is given by .
Given points are A(x,2) and B(6,-8), and the slope is
⇒-40 = -30+5x⇒5x = -10⇒x = -2