a²=-3a-1
a³=a*a²=a(-3a-1)=-3a²-a=-3(-3a-1)=9a+3
a^4=(a²)²=(-3a-1)²=9a²+6a+1=9(-3a-1)+6a+1=-21a-8
原式=3a³+a^4+5a²-5a²-6a
=a^4+3a³-6a
=-21a-8+3(9a+3)-6a
=-27a-8+27a+9
=1
a²=-3a-1
a³=a*a²=a(-3a-1)=-3a²-a=-3(-3a-1)=9a+3
a^4=(a²)²=(-3a-1)²=9a²+6a+1=9(-3a-1)+6a+1=-21a-8
原式=3a³+a^4+5a²-5a²-6a
=a^4+3a³-6a
=-21a-8+3(9a+3)-6a
=-27a-8+27a+9
=1