In a translation, the general translation of y=f(x) is that y=f(x+a) if f(x) is translated by a units towards left direction or downward and y = f(x) = f(x-a) is f(x) is translated by "a" units towards right direction or upward
Hence:
Translation of y =|x|
a) 3 units up
y = | x - 3|
b) left 2 units
y = | x+2|