Construct a Perpendicular Line

For many geometry constructions (like constructing a right angle, a right triangle or an altitude), it is necessary to construct a new line perpendicular to an existing line (like line AB). In particular, you may need to have the perpendicular go through the line at a certain point (like C or H), which is not the midpoint of segment FG. Can your team figure out how to do that?