Player A starts with the ball 2.5 meters diagonally in front of the post. Player B also stands 2.5 meters diagonally in front of the post.
Player A throws the ball to player B and player B throws it back. Thus they bring the ball up to about 8 meters in front of the post.
From there, player B starts for a through ball from the space indicated by player A.
However, instead of player B taking the through ball, it now enters the declarer and player A comes in for a clearance ball. Player B catches the ball.
A variation on this: Only throw the ball when player B runs next to/behind the basket and player B immediately makes a shot. Player A immediately runs in to catch the ball.There are more variations on this, such as:
Most goals in a time frame of, say, 10 minutes
Who scores 10 goals first
Make it more difficult by deducting a point for each ball on the ground.
Possibly with a 3rd player to rotate and keep a slightly slower pace.