No, the answer B is correct.
Sketch the inverse by reflecting the given graph in y = x. That's g(x)
g(|x|) is the same as g(x) for x > 0... this starts at (0, a) and decreases to (d, b)... but g(|x|) is also even, so g(|x|) starts at (-d, b), rises to a y-intercept of (0, a), then decreases...