I am trying to solve $a^2+b^2$ and $a^3$ given $a+b = 2, ab=4$. I have the key with the answers $a^2+b^2=-4$ and $a^3=-8$ but am wondering which steps to take to get to that answer.
My understanding of the problem so far is that from this system of equations it is not possible to get integer solutions for $a$ and $b$ (which is not asked for). I have not really gotten further in solving it than this realization.