which function has an x-intercept of 7