You now have to enter the size of the swap partition. For example, if you want a partition of 512 MB size, in the End box type +512M as shown below. If you want 1 GB then you have to type +1GB. Swap partition size is typically 1.5 to 2 times the amount of RAM you have.
Click OK. Now again select /dev/sda and click on the the Create button, you will get a dialog box as shown below. Select the filesystem as ext3, End as +8GB, mount point as /
Click OK. Now again select /dev/sda and click on the the Create button, you will get a dialog box as shown below. Select the filesystem as ext3, mount point as /home
Leave the End value as it is
The proposed partition table layout will get updated as shown