Follow the steps below if it is a sheetmetal part.
Create the walls as seperate features
Click Join under the editing group
Select the 2 surfaces that you want to join/merge. You can click on the arrows to flip the direction of the walls that you want to keep. Complete the feature