"bounding lines" are the lines that pass through points p1 and p3, and p2 and p4 respectively.
The line that is created by going through either set of these two points in relation to the p1-p2 line, doing an angle command on those two lines will tell you your base angle.
your base angle minus 90 degrees will tell you the angle at which to draw your new line from p2 to leave a perfect 90 perpendicular system as shown in the screencap...I think