Try these steps and see how you go :)
You will learn better if you do quite a bit of it yourself.
You can post your answers (or troubles and someone will look at them for you :)
1) find the midpoint of AB
2) Find the gradient of AB
3)Determine the gradient of the perpendicular to AB
4) use the point gradient formula to determine the equation of the line.