ANSWER
x = 5
Step-by-step explanation
The slope of a line passing through the points (x₁, y₁) and (x₂, y₂) is,
In this case, we know the slope of the line, and that this line passes through points (3, 1) and (x, 8),
So, we have an equation for x. Multiply both sides by (x - 3),
Multiply both sides by 2 and divide both sides by 7,
And, finally, add 3 to both sides,
Hence, the value of x is 5.