Remark
All you need is 2 points to get the line of the equation. One is itself (B and B') is the same in both triangles. Now we need to find one more point. Since this is a reflection, the midpoint between C and C' is the second point. That choice of C and C' is completely arbitrary.
Step One
y intercept of the line. That point is B which is (0,1)
Step Two
Find the midpoint between C and C'
C is (-4,-2) and C' is ( 0 , - 4) The midpoint is
C" = (x2 + x1)/2 , (y2 + y1)/2
C" = (-4 + 0 )/2 , (-2 + - 4) / 2
C" = (-4)/2 , - 6/2
C" = (-2, - 3) C" is the midpoint between C and C'
Step 3
Find the equation of the line.
y = ax + b We are trying to find A
y = ax + 1
-3 = a(-2) + 1
-3 - 1 = a(-2)
- 4 = a(-2) Divide by -2
-4/-2 = a
a = 2
The slope of the line is 2
Answer
y = 2x + 1