Dear esteemed forumers. I couldn’t quite get the logic where the first graph for the image below does not have the same shape as the second graph

Essentially, why is it that the first graph’s equation cannot be negative but the second graph’s equation can be?

For example, wouldn’t the first equation can be broke down into the following:

Y = X^2 + 2 and Y = - (X^2 + 2)

Thank you in advance.