Please help with explanation each graph shown is a translation of the graph of f(x)=x^2 wrote the function in vertex form

Given:
The graph of a function.
To find:
The vertex form of the function.
Solution:
The graph is a U-shaped curve or a parabola with vertex at [tex](-3,-1)[/tex].
The parent function for vertical parabolas is [tex]f(x)=x^2[/tex] with vertex at (0,0).
It means the graph of [tex]f(x)=x^2[/tex] translated 3 units left and 1 unit down the get the given graph.
The vertex form of a parabola is:
[tex]y=a(x-h)^2+k[/tex]
Where, a is a constant and (h,k) is vertex.
The vertex of the given parabola is at [tex](-3,-1)[/tex]. So, [tex]h=-3,k=-1.[/tex].
[tex]y=a(x-(-3))^2+(-1)[/tex]
[tex]y=a(x+3)^2-1[/tex] ...(i)
The graph passes through point (-2,0). Putting [tex]x=-2,y=0[/tex], we get
[tex]0=a(-2+3)^2-1[/tex]
[tex]1=a(1)^2[/tex]
[tex]1=a[/tex]
Putting [tex]a=1[/tex] in (i).
[tex]y=1(x+3)^2-1[/tex]
[tex]y=(x+3)^2-1[/tex]
Therefore, the vertex form of the given graph is [tex]y=(x+3)^2-1[/tex].