I'll take a shot.
The run ended at B's 40 so the line to gain was acheived. The foul for an illegal forward pass is 5 yards and loss of down. Since the line to gain was reached the loss of down is ignored. Penalize A 5 yards from the 40. A's ball 1st and 10 the B's 45.
|