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.

Click image for larger version. 

Name:	shape.jpg 
Views:	480 
Size:	7.6 KB 
ID:	96294

Please note: after joining I want one middle cut inside the rectangle.

Any idea?

Thanks.