The free-throw violation by A1 cancels the second attempt. Since Team B is not in the bonus, it results in a designated spot throw-in from the nearest spot out of bounds from where A2’s foul occurred. Team B may not move along the end line as the last free throw was unsuccessful.