Given the Cartesian coordinates of three points on a plane, find the equation of the circle that passes through all three of them. The three points are guaranteed not to lie on a single straight line.
Report the circle in two forms. One is the standard (center–radius) form
$$(x - h)^2 + (y - k)^2 = r^2$$
and the other is the general form
$$x^2 + y^2 + cx + dy - e = 0$$
Each line of input contains the $x$ and $y$ coordinates of three points $A$, $B$, and $C$, listed in the order $A_x$, $A_y$, $B_x$, $B_y$, $C_x$, $C_y$. The coordinates are real numbers separated from one another by one or more spaces. Read lines until the end of the input.
For each input line, print the two required equations on two consecutive lines, using the format shown in the examples. The values $h$, $k$, $r$, $c$, $d$, and $e$ must each be printed with exactly three digits after the decimal point.
Adjust the plus and minus signs so that no number is preceded by two signs. For example, when $k = -2$ the term is written (y + 2.000) rather than (y - -2.000). Every +, -, and = sign must be surrounded by exactly one space on each side, and no other spaces may appear inside an equation.
Separate consecutive equation pairs with a single blank line.
