Given a point (x1, y1) and an equation for a line (y=mx+c), I need some pseudocode for determining the point (x2, y2) that is a reflection of the first point across the line
This link contains an algorithm that is similar to what you are trying to do:
That is reflect a ray off a normal.