Reflection of a point over a line.

Move point A and/or drag point B to see how the reflected image changes.