Let a and B be the two real roots of the equation x ^ 2-2x-4 = 0. Find a ^ 2 + 2B

Let a and B be the two real roots of the equation x ^ 2-2x-4 = 0. Find a ^ 2 + 2B

a+b=2,ab=-4
a^2+2b=a^2+b(a+b)=a^2+ab+b^2=(a+b)^2-ab=4-(-4)=8