Using the standard quadratic form:
If a > 0, then the parabola opens up.
If a < 0, then the parabola opens down.
Your example: would be .
Since a = 1, the graph is a parabola that opens upward. The same thing happens with your other example: . This becomes and since a = 1, opens upward as well.