Could someone explain how to get the correct answer when trying to find the f(X) and g(X) on a graph like this? Thanks!

Could someone explain how to get the correct answer when trying to find the fX and gX on a graph like this Thanks class=
Q&A Education