if a and b are the roots of the equation x 2 - 6 x + 6 = 0, then the value of a 2 + b 2 is:  Choose the correct option:	A) 36	B) 24	C) 17	D) 6	E) 5
<gadget id="calculator">6 ** 2</gadget>
<output>36</output>

<gadget id="calculator">4 * 6</gadget>
<output>24</output>

<gadget id="calculator">36 - 24</gadget>
<output>12</output>

<gadget id="calculator">12 ** (1/2)</gadget>
<output>2*sqrt(3) = around 3.464102</output>

<gadget id="calculator">6 - (2*sqrt(3))</gadget>
<output>6 - 2*sqrt(3) = around 2.535898</output>

<gadget id="calculator">(6 - 2*sqrt(3)) / 2</gadget>
<output>3 - sqrt(3) = around 1.267949</output>

<gadget id="calculator">(3 - sqrt(3)) ** 2</gadget>
<output>(3 - sqrt(3))**2 = around 1.607695</output>

<gadget id="calculator">6 + (2*sqrt(3))</gadget>
<output>2*sqrt(3) + 6 = around 9.464102</output>

<gadget id="calculator">(2*sqrt(3) + 6) / 2</gadget>
<output>sqrt(3) + 3 = around 4.732051</output>

<gadget id="calculator">(sqrt(3) + 3) ** 2</gadget>
<output>(sqrt(3) + 3)**2 = around 22.392305</output>

<gadget id="calculator">((3 - sqrt(3))**2) + ((sqrt(3) + 3)**2)</gadget>
<output>(3 - sqrt(3))**2 + (sqrt(3) + 3)**2 = around 24</output>

<result>B</result>
if a and b are the roots of the equation x 2 - 6 x + 6 = 0, then the value of a 2 + b 2 is:
add(power(divide(subtract(6, sqrt(subtract(power(6, 2), multiply(const_4, 6)))), 2), 2), power(divide(add(6, sqrt(subtract(power(6, 2), multiply(const_4, 6)))), 2), 2))
"sol . ( b ) the sum of roots = a + b = 6 product of roots = ab = 6 now , a 2 + b 2 = ( a + b ) 2 - 2 ab = 36 - 12 = 24 answer b"