Given a point (a,b) with 0 < b < a, determine the minimum perimeter of a triangle with one vertex at (a,b), one on the x-axis, and one on the line y=x.
Thanks!

Hello, RubyRed!
Who assigned this? . . . It is an ugly problem!
Given a pointwith
,
determine the minimum perimeter of a triangle with one vertex at,
one on the x-axis, and one on the line
Code:| * | * | R * | (y,y)o | * * * | * * * P | * * o(a,b) | * * * | * * * - + - - - - - - - - o - - - - - | (x,0) | Q
Letbe on the x-axis.
Letbe on the line
Then: .
. .
. .
And now solve the system: .
Good luck!