Draw a line l and a point X on it. Through X, draw a line segment perpendicular to l. Now draw a perpendicular to XY at Y. (use ruler and compasses)