First and ten for B at B's 43 yard line. A had to make the first down prior to the end of fourth down to keep the ball. Enforce the penalty and then set the chains.
This is a dead ball fould AFTER 4th down in which A did not make a 1st down. The above mentioned enforcements are correct. Be aware of DEAD BAll situations.