Actually, your first equation is correct, not your second. You forgot to add the $+1$.
$$(x^2+2x+1)+76 = 100 \implies x^2+2x+77 = 100 \implies x^2+2x = 23$$
This is the first equation again, and since $23$ is prime, this can’t be solved with integers.
$$x^2+2x-23 = 0 \implies x = \frac{-2\pm\sqrt{2^2-4(1)(-23)}}{2(1)} \implies -1\pm 2\sqrt 6$$
Since $-1-2\sqrt 6$ is negative, the answer becomes $-1+2\sqrt 6$%. Slightly awkward, but correct nonetheless...