On defense, your two players closest to the basket have one job: block out. They block out the two offensive players next to them, and they have no rebounding responsibilities.
Their primary responsibility is to make sure the player they are blocking out does not get the ball. If he spins, goes baseline or tries to cross, it does not matter. Whatever he does, the job is to keep him from rebounding.
Then you have two more players. Generally the less athletic player, or your worst rebounder, blocks out the shooter. The extra player has a free run to go get the rebound wherever it lands.
So the alignment is simple. Two players block out the two offensive players next to them. A third player runs free to go get the rebound. The fourth player blocks out the shooter.
Give each player that one job before the ball goes up. The blockers block, the shooter gets blocked out, and the free runner is the one going after the ball.
More Special Situations questions
Free playbook
Get the free flex offense playbook
Every flex cut, starting set, counter, special and drill, with all 30 diagrams, in one printable PDF.