You can
put this solution on YOUR website!Yes, you do it exactly the same way except that when you do parallel lines, the slopes are equal, but when you do perpendicular lines, the slopes are the negative reciprocal of each other. In other words, if

is the slope of line

and

is the slope of line

,

is perpendicular to

if and only if
For your first problem:
(-2,-2)

, the slope is

, so the slope of the perpendicular has to be 3.
Let me know if you need more help.
John