You're going to need two pistons - one normal and one sticky - as well as two levers for this.
Arrange the pistons like so, with the one on the left being our normal piston (Piston A) and the one on the right being the sticky piston (Piston B).
Pull the lever on the left so that Piston A extends and pushes Piston B away, and then retract the lever on the left so that Piston A goes back to normal. Then, pull the lever on the right so that Piston B extends and touches Piston A, and then retract the lever on the right so that Piston B pulls Piston A towards it
After doing this, the trophy will appear near instantly.