Finding neighbor surface / curve

hello,
anyone know how i can find the surface neighbors, mostly unconventional geomtries.
see img attached
image

curve num 1 in blue , the x symbol meaning the neighbor surfcace of it , same goes to red for example number 2

appreciated

guess i already found the solution on this one ^^