Let's use the form y=mx+c.

Since the line passes through (2,1) we know 1=2m+c

We also know that the y intercept is c and by substituting y=0 we can discover that the x intercept is -c/m. Using the formula for the area of a triangle, we get . Then it is just a matter of solving the simultaneous equations.