Option 1: before
A vertical shift (translation) is typically performed before a vertical stretch or compression in mathematical transformations of functions. The order matters because shifting the graph vertically changes its position, and then stretching or compressing it adjusts the scale of the graph in its new position.