I have activated the groups and friends features from wp-admin -> settings -> buddypress ->components .
also corrected the menus .
If you want that exact same menu like demo 2 then you would need to reset your installation using
wp reset plugin and then follow this guide to setup theme :
https://www.youtube.com/watch?v=C0RQO3-tjAI