how to draw perpendicular bisector of a line segment code example Example: how to write a perpendicular equation with given points Sorry that you have to do math as will.