The equation is n2−12=n, or n2−n−12=0, and both 4 and −3 satisfy it (indeed (−3)2−12=−3). The deciding factor is the wording "positive number."
n=4 (kept: positive),n=−3 (rejected: not positive)
So n=4. The reason is the positivity requirement, not that "negatives cannot be squared" (they can).