You could do that using
UltimateParent which will travel up the resource tree until it hits a certain level (in this case 2), then return the id of that resource.
Combine it with getResourceField to grab the pagetitle:
[[getResourceField? &id=`[[UltimateParent? &topLevel=`2`]]` &field=`pagetitle`]]