Calculus Problem - Optimization

Hi i was wondering if anyone could help me with this calculus optimization problem i know how to do most optimization problems but this one stumps me.

**Some lines through the point (2,1) cut off a triangle in the 1st quadrant. Find the x - intercept of the line with the property that the sum of its x and y intercepts is a minimum.**

*What i know so far is that the equation of any line is y = mx + b

*The x intercept would be when y = 0 so 0 = mx + b

*The y intercept would be when x = 0 so y = b essentially

*I am not sure if this would be true but the equation of any line on that point would be 1 = 2m + b

I am not sure what to do from this point.

Help would be greatly appreciated :D

Re: Calculus Problem - Optimization

if i find the y intercept it would be y = b

if i find the x intercept it would be x = -b/m

so the sum would be b - (b/m)

which still doesnt make sense do i solve for m in the other equation?

Re: Calculus Problem - Optimization

the line through has equation ...

the y-intercept is

the x-intercept is

the sum of the intercepts is ...

Determine the value of the slope (remember it must be negative) that minimizes the sum, ... then find the x-intercept.

Re: Calculus Problem - Optimization

thank you so much skeeter