Trigonometry is for use when you need to calculate angles or derive information from angles. This is simply intersection. Here is a simple derivation of edfair's expression:
There are a number of standard forms for expressing lines. I will start with the following:
(y - y1) = m(x - x1)
Intuitively, this can be seen as translating the line to put (x1, y1) at the origin, and then constructing a line of the form y = mx + b where b is zero since the line passes through the origin.
The value m here is the slope of the line. We know this to be the rise over the run. In this case, we know the rise to be (y2 - y1) and the run to be (x2 - x1). This leaves us with the following expression, with x and y as unknowns:
(y - y1) = ((y2 - y1) / (x2 - x1))(x - x1)
Since this equation must hold for all points (x, y) along the line, it must therefore also hold for (x3, unknown). I will use y3 to denote unknown. Inserting x3 and y3 into the equation for the line, we get:
(y3 - y1) = ((y2 - y1) / (x2 - x1))(x3 - x1)
Solving for y3, we get:
y3 = y1 + ((y2 - y1) / (x2 - x1))(x3 - x1)
..which is the equation given by edfair.