How do you find the slope-intercept equation of medians of a triangle and perpendicular bisectors of a triangle?