Aside from the shooting foul, we have two separate double technical fouls. I suppose you could call it a false double technical, but that's probably overthinking it.
Personal foul charged to B1.
Technical fouls charged to A1, B1, A5 and B5. Players are DQ'ed if this is either their second technical foul or their fifth total foul. (Remember - if B1's personal foul was his fifth, his technical is NOT charged indirectly to the coach, as no notification has occurred.)
B will have 3 fouls added to its team total, A will have 2 added.
A1 (or substitute, if DQ'ed) will shoot 2 (or 1 if the shot was good. You did remember to see if the shot was good, right?

) with the lane spaces filled as normal.