If slope ofthe line is m=7, then the equation of the line is
[tex]y=7x+b.[/tex]
Since line passes through the point (-4,-2), its coordinates satisfy the equation of the line:
[tex]-2=7\cdot (-4)+b,\\ \\b=-2+28=26.[/tex]
The equation of the line is
[tex]y=7x+26.[/tex]
Point (-5,k) lies on the line, then its coordinates satisfy the line equation:
[tex]k=7\cdot (-5)+26=-35+26=-9.[/tex]
Answer: k=-9.