Recursive Tree Method For Solving Two