To find the range of the function:

we first need to solve the equation:

for x. Let's do this:
![\begin{gathered} y=x^2+6x+8 \\ y-8=x^2+6x \\ y-8+3^2=x^2+6x+3^2 \\ y-8+9=(x+3)^2 \\ y+1=(x+3)^2 \\ x+3=\pm\sqrt[]{y+1} \\ x=-3\pm\sqrt[]{y+1} \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/nxwutzupreo12vyrpj1zw9lwp7ixiu68ja.png)
Now that we have an equation for x, we need to determine for which values of y the equation has real valued solutions. We notice that for this to be true we need that:

This values of y represent the range of the function. Therefore the range of function f is:

This also can be obtanined by looking at the graph of the function:
(Remember that the range of the function is all the values the function takes in the y-axis)