Interestingly enough if you were working an NBA game, you would have had it correct.
Under the NBA rule set, if B1 pushes A2 into A1 and the shot is unsuccessful, then A1 is awarded two shots...if A1 makes the shot, then A2 is awarded one free throw.
So you were correct under ONE rule set! 😉😃