In which direction must the graph of f(x) = 2x be shifted to produce the graph of g(x) = 2x + 4?

Up; An 'ungrouped' (not an exponent or in parenthesis) value after the variable will always be a vertical shift. Since +4 is by itself and requires no solving, the graph would be translated up 4 units.