As I am wondering why I have to explain how human intelligence work to presumably another human, there is much more to intelligence, and thus AGI, than an IQ test or being able to think hard about Fermat's last theorem after having been fed the entirety of human knowledge and a few GWh of power.
There is a term already to define intelligence which isn't as general and flexible as a human: https://en.wikipedia.org/wiki/Weak_artificial_intelligence