y^2+3y-1=0
y+3-1/y=0
y-1/y=-3
y^2+1/y^2
=(y-1/y)^2+2
=3^2+2
=9+2
=11
a^2-3a+1=0
a-3+1/a=0
a+1/a=3
a^2+1/a^2
=(a+1/a)^2-2
=3^2-2
=9-2
=7
y^2+3y-1=0
y+3-1/y=0
y-1/y=-3
y^2+1/y^2
=(y-1/y)^2+2
=3^2+2
=9+2
=11
a^2-3a+1=0
a-3+1/a=0
a+1/a=3
a^2+1/a^2
=(a+1/a)^2-2
=3^2-2
=9-2
=7