The y-intercept of a function is the value that it takes at x=0.
Evaluate f at the point x=0 to find the y-intercept:
Therefore, the y-intercept is 4.
The x-intercepts are the values of x that make the function to be equal to zero.
Set f(x)=0 and solve for x to find the x-intercepts:
From the expression |x+1|=3, there are two possibilities: If the expression inside the absolute value is positive, then |x+1|=x+1. If it is negative, then |x+1|=-(x+1). Consider each possibility separately:
There are two solutions for the equation -2|x+1|+6=0, and they are x=2 and x=-4.
Therefore, the x-intercepts are 2 and -4.