HELP ASAP what is the equation of g in terms of f?

Given:
Function g is the vertically scaled version of function f.
We can find the relationship between g(x) and f(x) by observing points on the graph.
When x = 1,
f(x) = 2, g(x) = 6
We can find the scale factor to be:
[tex]\begin{gathered} \text{scale factor = }\frac{6}{2} \\ =\text{ 3} \end{gathered}[/tex]Hence, the relationship between g(x) and f(x) is:
[tex]\begin{gathered} g(x)\text{ = 3 }\times\text{f(x)} \\ =\text{ 3f(x)} \end{gathered}[/tex]Answer:
g(x) = 3 f(x)