Transforming the graph of y = 5cos(3x) to y = cos(3x + 6) involves a sequence of three transformations. First, the horizontal shift occurs by changing 3x to 3(x + 2), indicating a shift to the left by 2 units. Next, the vertical compression is applied by changing the amplitude from 5 to 1, which reduces the height of the graph. Finally, the function is adjusted to account for the new amplitude, resulting in y = 5cos(3x + 6). These transformations illustrate how changes in the function affect its graph's position and shape.