Given the line containing the points (x, 5) and (3, -1) has a slope of 4
The slope of the line will be:
[tex]\text{slope}=\frac{y_2-y_1}{x_2-x_1}[/tex]Substitution with the given points:
[tex]\frac{5-(-1)}{x-3}=4[/tex]Solve the equation to find x:
[tex]\begin{gathered} 4(x-3)=5-(-1) \\ 4x-12=5+1 \\ 4x=5+1+12 \\ 4x=18 \\ x=\frac{18}{4}=4.5 \end{gathered}[/tex]So, the answer will be x = 4.5