Create the three view controllers(You five as your requirement), and then give each view control to the each separate navigationcontrollers. and then assign three navigationcontrollers to the tabbar as follows-
RideViewController* rideObj = [[RideViewController alloc]initWithNibName:@"RideViewController" bundle:nil];
RequestARideViewController* requestARideObj = [[RequestARideViewController alloc]initWithNibName:@"RequestARideViewController" bundle:nil];
MyAccountViewController* myAccntObj = [[MyAccountViewController alloc]initWithNibName:@"MyAccountViewController" bundle:nil];
navCtrlObj1 = [[UINavigationController alloc]initWithRootViewController:rideObj];
navCtrlObj2 = [[UINavigationController alloc]initWithRootViewController:requestARideObj];
navCtrlObj3 = [[UINavigationController alloc]initWithRootViewController:myAccntObj]
self._tabBarController = [[UITabBarController alloc]init];
self._tabBarController.delegate=self;
self._tabBarController.viewControllers = [NSArray arrayWithObjects:navCtrlObj1,navCtrlObj2,navCtrlObj3,nil];
-(void)tabBarController:(UITabBarController *)tabBarController didSelectViewController:(UIViewController *)viewController
{
write your code here to move the ViewController as written below.(as your requirement)
[navCtrlObj1 popToRootViewControllerAnimated:YES];
[navCtrlObj2 popToRootViewControllerAnimated:YES];
[navCtrlObj3 popToRootViewControllerAnimated:YES];
}