Not able to clear two test cases

Replace line 45 with else if(root1!=NULL&&root2!=NULL)
and then check