To make sure your windows have exactly the same proportions, try the following:

Top two: 960x720 each

Bottom three: 640x480 each

That should fill the screen perfectly and if you do window swapping, this setup should avoid distortion.