The line AB is shown on the grid.
a) Find the gradient of a line
perpendicular to AB.
b) Find the equation of the line
perpendicular to AB and passing
through the midpoint of AB.