As Fer said to get 5 subnet u use a /27 with the no of valid subnets as 8 and a block size of 32 with 30 being the valid hosts ( remember one goes for n/w address and one for broadcast ) so now.. calculate the rangeValid subnets --> 0,32,64,96,128,16...