Area of a triangle. Formed by two axes and a line. Small question.

Hello everyone,

Heres the problem; A right triangle is formed in the first quadrant by the x and y axis and a line through point (2,1). Write the area A of the triangle as a function of x.

Using the information above I can conjure these three points;

(0,y)

(2,1)

(x,0)

Furthermore, I know area of a triangle is equal to .5(bxh) or in this case (y*x)/2.

The problem is that I need to express this area as a function of x. Which sounds simple. Unfortunately, that means I need to get y in terms of x. This is where I am stuck.

How would I put y in terms of x?

Thanks,

Taylor S. Amarel

Living is learning.