Hi Kenny, and welcome to the forum!
You need to understand 2 important principles: basic spot, and all-but-one.
The basic spot is the default enforcement spot. It varies depending on the kind of play: for fouls that occur during a running play, the basic spot is the end of the run. For those that occur during a loose ball play, the basic spot is the previous spot. (You will also need to study 'running play' and 'loose ball play', but I'll set that aside for simplicity.)
So in your example play, assuming that it was a running play, your basic spot would be the end of the run. However, enforcement is governed by "all but one," or ABO. To understand ABO, you have to grasp 4 types of foul: committed by the offense or defense, and beyond or behind the basic spot (from the standpoint of the offense). That's 4: defense beyond, defense behind, offense beyond, and offense behind.
These are ALL enforced from the basic spot BUT ONE: fouls by the offense committed behind the basic spot. Those are enforced from the spot of the foul.
So, in your example, the foul is by the offense behind the basic spot, so it's a spot foul.
That's your 30 second enforcement clinic!