
Patrick B. answered 02/11/21
Math and computer tutor/teacher
step 1: find the slope, m, of the line P1 to P2
step 2: the first intercept is B_1 = P1 - P2*m
so the equation of the first line is y_ = m* x_ + B_1
step 3: find the NEGATIVE RECIPROCAL of the slope, M_|_ unless it is zero
step 4: the intercept of the perpendicular is B_2 = P3 - ( M_|_)* P2
step 5: calculates the intersection of these lines: (B_2 - B_1) / ( m - M_|_ )
step 6: calculates the points that are 6 units in all directions from the intersection
found in step 5