So I'm given the points ) and I'm supposed to find .

As the slope of is and the slope of is , apparently, the answer is: or equivalently

So my question is, how was this determined and in general, how does one determine the tan of an angle given three points?