Perpendicular to a Point NOT on a Line

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

images/construct.js?mode=perpnotline