In Transformers 2 on the PS3, you zoom in with a sniper rifle by pressing the X button.
It is a single, simple input, so tap X to bring up your scope and line up your shot.