Solution:
Given the graphs (a) and (b)
a) The function of graph (a) is

The graph of the function is shown below
Translating it to get the graph of

The translated function becomes

The translated graph is
b) The function of graph (a) is

The graph of the function is shown below
Translating it to get the graph of

The translated function becomes

The translated graph is