What should I do if the line direction is reversed?

If the direction of your cabinet molding is incorrect, right-click on the molding and select Reverse.