For the 3D Viewport, put mouse cursor over editor and press shift+F5 or in the header the first icon is the editor selection icon. As for creating a new area for an editor, move mouse cursor to one of the rounded corners it will turn to a target or plus icon. When it does hold left mouse button down and drag into the editor. Left or right depending on corner will split vertically. Up/down will split horizontally. To join areas drag outside of the editor. If you have trouble with that you can go between 2 editors( mouse will turn to double arrows) and right click then select either horizontal or vertical split. If you choose the wrong one then just press tab to switch. Move split line were you want to split and left click. Join can also be done thru this menu too. Another option is to access this thru view->area menu in the header.