You have the following equation:
|n| = 8 the two vertical bras | | means absolute value of variable n
when you have an equation with an absolute value you consider that n could be negative or positive, because the absolute value of a number always results in a positive number. Then, n can be 8 or -8, because |-8| = |8| = 8. Hence, you have
n = ±8