Roblox interview question

Find common ancestor in a tree between 2 nodes.