Hello, RubyRed!

Who assigned this? . . . It is anproblem!ugly

Given a point with ,

determine the minimum perimeter of a triangle with one vertex at ,

one on the x-axis, and one on the lineCode:| * | * | R * | (y,y)o | * * * | * * * P | * * o(a,b) | * * * | * * * - + - - - - - - - - o - - - - - | (x,0) | Q

Let be on the x-axis.

Let be on the line

Then: .

. .

. .

And now solve the system: .

Good luck!