max value of -5^x + 2