the equation of a line in point-slope form is
y - b = m(x - a)
where m is the slope and (a, b ) a point on the line
to calculate m use the gradient formula
m = (y₂ - y₁ ) / (x₂ - x₁ )
with (x₁, y₁ ) = (- 2, - 5 ) and (x₂, y₂ ) = (2, 3 )
m = = = 2
use either of the 2 points for (a, b)
using (a, b) = (2, 3), then
y - 3 = 2(x - 2) ← in point-slope form