The graph shows g(x), which is a transformation of f(x)=|x|. Write the function rule for g(x).
Write your answer in the form a|x–h|+k, where a, h, and k are integers or simplified fractions.
                                             
                                          
                                          
                                       