Perpendicular to a Point on a Line

How to construct a Perpendicular to a Point on a Line
using just a compass and a straightedge

images/construct.js?mode=perponline