Lets say the tennis racket has 2 portals. One in the front and one in the back. When you swing the racket, the front portal moves forwards with some speed V. The portal on the back is moving backwards with the same speed, so -V (same speed V, but in opposite direction). A stationary ball, suspended in mid-air would have 0 speed. The racket portal approaches the ball at speed V, so the ball has a relative speed V to the racket. The portal on the back has a speed of -V and ven you combine that with the ball’s speed of V, we get -V+V=0. And so the ball stays put. The portals in the image are not both in motion. The front portal is approaching the people with a speed of V and so the relative speed of the people to the portal is V. The exit portal has a speed of 0, relative to the people. When the people go through the portal, their speed is 0+V=V, meaning they get launched out the exit portal with the same speed the entrance portal hit them.