g(x) is one function that looks like f(x)... it starts at (0,0) and goes to (1,1) and then down to (2,0) and stops. This is the nature of absolute value of a function, notably:

for the domain of x: (0,2)

HINT: start with and then flip it, shift it horizontally, and then vertically