The general equation of line with slope m, and passing points (a, b) is :
y = m (x - a) + b
In the given equation,
The slope is 1/2 : m = 1/2
through a point (-2,-5) : (a, b) = (-2, -5)
Substitute the value and put it in the general equation of line
Equation of line : x - 2y = 8
Answer : x - 2y = 8