Simple model of the slingshot effect