ok, thank you for that, I think it should stick in my brain a little better.
I was also looking at another way to do reflections involving matrices.
so for a reflection in like y=mx you know its just a linear transfomation so
(I dont know how to type this notation)
[a b]_ [x]
[c d] * [y]
so for eg, for a reflection in y = 2x, (1,2) -> (1,2) and the invariant line, y=-1/2x so any points on the line goes back to the line like (2,-1) -> (-2,1)
then
[a b] _[1] = [1]
[c d] * [2] _[2]
and
[a b] _ [2] = [-2]
[c d] * [-1] _ [1]
then its surprisingly simple to solve for ABCD and then you get (x,y) -> (-3/5 x+ 4/5 y, 4/5 x + 3/5 y)
another thing, I thought it would be a lot harder to reflect an actual graph, so say reflect y = x^2 from y= x+2, but if you just know (x,y) -> (y-2,x+2) then you literally just replace the y=x^2 with (x+2) = (y-2)^2 and thats it.