The distance between Adam and Liz is 7 meters. Sam ang Linda are 12 meters apart. Adam and Sam are 3 meters apart while Adam is 5 meters ahead of anyone. So, Sam finished first, then Adam, next is Liz, next is Rumi, last is Linda.
First of all, a bit of theory: since the area of a square is given by

where s is the length of the square. So, if we invert this function we have
.
Moreover, the diagonal of a square cuts the square in two isosceles right triangles, whose legs are the sides, so the diagonal is the hypothenuse and it can be found by

So, the diagonal is the side length, multiplied by the square root of 2.
With that being said, your function could be something like this:
double diagonalFromArea(double area) {
double side = Math.sqrt(area);
double diagonal = side * Math.sqrt(2);
return diagonal;
}
Given a circle described by the equation:

and a function g(x) given by the table

The function g(x) describes a straight line with the equation:

To check if the circle and the line intersects, we substitute the equation of the line into the equation of the circle to see if we have a real solution.
i.e.

When x = 6, y = 2(6) - 20 = 12 - 20 = -8 and when x = 10, y = 2(10) - 20 = 20 - 20 = 0
Therefore, the circle and the line intersect at the points (6, -8) and (10, 0).