Answer:
In first one just shift the graph 2 units right
and in second one shift the graph 1 unit upward