in this graph the line of symmetry is the blue line .since this line crosses the x axis is at-2 the equation of the line of symmetry is x=-2