Get a line on the intersection split wall

Hello All,

can someone help me with a problem. I want to make a line one the intersection of two splitted walls
see picture below