Answer
$ a.\quad g$ is not one-to-one
$b.\quad -$
Work Step by Step
$ a.\quad$
The function is quadratic.
Its graph is a parabola that opens up, symmetric to the vertical line that passes through the vertex.
The vertex is at (0,5) and the axis of symmetry is the y-axis.
This graph fails the horizontal line test, as we can take take two x's on either side of the vertex,
and they will have the same y-coordinate.
For example, $(-1, 6)$ and $(1,6)$ are points on the graph.
Therefore, it is possible to draw a horizontal line that intersects a function's graph more than once.
It is not one-to-one.
$ b.\quad$
-