Since f(x) is written in vertex form with a negtive vertical expansion factor, we know it opens downward and the maximum is at the vertex, 3.
Since we have a graph of g(x), we can read the maximum from the graph, 4.
We can determine which function has the largest maximum by noting that the largest maximum is 4 and that it corresponds to function g(x).