(a) If two line are perpendicular than:

where:

line :

So perpendicular line slope is:

So equation of perpendicular line is:

Line pass is (-2,-5)

Final equation of perpendicular line is:

(b) parallel line slope is same for each other line is:

so parallel line equation is:

line pass at point (-2,-5) then.

So parallel line equation is:
