A family of Microsoft relational database management systems designed for ease of use.
Task B has two parts, so make it two tasks, B1 and B2. If there is no "data", then estimate start date and duration of each part. In task information, check the rollup box.
You can't make A look the same in both situations because in 1 A is a task while in 2 A is a summary, not a task.