I am trying to join two shapes (figure - a) in Illustrator, And I want the effect should be like this (figure - b). I tried Unite option in Pathfinder, but that makes a big rectangle.
Please note: after joining I want one middle cut inside the rectangle.
Any idea?