Basically, when you solve the equations for their x-intercepts, or when you let the equations equal 0 and solve them, they will get the same result. However, this is not because they are the same equation. Rather, it is because when you reflect something in the x-axis, the x-intercepts remain the same. So, y=(x+1)(x+2) is not the same as y=-(x+1)(x+2) as the second graph is the first one relected in the x-axis. You can verify this by subbing in an x value. Let x=1. The first equation gives y=6 and the second equation gives y=-6. If they were the same equation and had the same graph, they should get the same y value for each x value inputted into the equation. So, it is clear that the equations are not the same cause it doesn’t satisy this condition. It’s like how the graph of y=x2 is different to the graph of y=-x2. So, basically the equations aren’t the same unless they are completely identical.