notice, -2 is a valid value for the quadratic, however, the argument value for a logarithm can never 0 or less, it has to be always greater than 0, so for the logarithmic expression with (x-2), using x = -2 will give us a negative value, so -2 is no dice.