Write an equation of the line that passes through the given point and is (a) parallel and (b) perpendicular to the given line.

Write an equation of the line that passes through the given point and is a parallel and b perpendicular to the given line class=