This is a linear equation y= mx + b, where m is the slope.
It passes through 2 points A & B having the respective coordinates
A(x₁,y₁) & B(x₂,y₂). Given A(0,-3) & B(2,-3)
1st calculate the slope: m=(y₂-y₁)/(x₂-x₁) ==> (-3-3)/(2-0)==> m =-6/2 = -3
y = -3x + b. To calculate b, plug the coordinate of either A or B, let's take A
-3= -3(0) + b ==>b= -3
Final equation: y = -3x - 3 or y+3 = -3x