With respect to basic spot enforcement, fouls may occur in 4 different ways:
1. Team A foul behind the basic spot
2. Team A foul beyond the basic spot
3. Team B foul behind the basic spot,and
4. Team B foul beyond the basic spot.
Three of those scenarios get enforced from the basic spot, namely #2, 3 and 4
and One of them gets enforced from the spot of the foul, namely #1
Therefore, Three and One principal.
For ease of writing I used Team A and B, but really the team A designation above refers to the team in possession when the foul occurs and team B refers to the opponents of the team in possession.