Let $m$ and $n$ be positive integers. What is the most efficient way to choose factors that solve this equation. Notice that two factors of 2079 must sum to 36. What is a quick way of picking numbers?
$$mn=2079$$ and $$m+n=36$$
Note that $$2079=3^3 *7*11$$
There are only a few divisors of $2079$, namely those of the form $3^a\, 7^b\, 11^c$ with $0 \le a \le 3$, $0 \le b, c \le 1$. Hence, there are only $4 \cdot 2 \cdot 2 = 16$ choices for $m$. Considering that the choice of $m$ uniquely determines $n$, it's not too hard to just run through the possibilities.
For a more direct way, note that $n = \frac{2079}{m}$, so our second equation can be written as
$$m + \frac{2079}{m} = 36$$
Rearranging, this is just the quadratic equation
$$m^2 - 36m + 2079 = 0$$
This can be solved any number of ways, e.g. completing the square or the quadratic formula.