Then we can algebraically find point C, which is the intersection of these two lines. So we can first find the equation of the line through point A that is perpendicular to line k. Note that line AB must be perpendicular to line k, and C must be the midpoint of segment AB (from the definition of a reflection).
Let A be the point to be reflected, let k be the line about which the point is reflected, let B represent the desired point (image), and let C represent the intersection of line k and line AB.