Before shock formation, the piston launches a right-moving simple wave into the undisturbed gas. The opposite invariant is fixed at its ambient value:
Therefore the simple-wave relation is