How can I determine if two lines are perpendicular?

On a graph or from the equations?

On a graph, one can use a protractor or a drafting device such as a right triangle.

Two (straight) lines are perpendicular if the product of the slopes is -1.