You have a couple of constraints that make setup a bit difficult. You could split both tasks into two tasks each (Task A1, Task A2, Task B1, Task B2) and then setup appropriate predecessors. You may also need a FF predecessor type. Of course there is a balance between complicating task setup and proper team communication. Just saying if that is the only task in question.