Slide the legs of a table Here is very simple model of a "table":



How could I easily slide the selected part closer to the inside, i.e. move it along the X axis? If I just move it, the top part will obviously be distorted:



Instead, I would like the top part to protrude like this:



How would you do this?
Press P key with the table leg selected and choose Selection,

to separate it by selection and then Shift select the table and press CtrlJ to join them back together, now you can move it however you like.
-don't forget to exit the edit mode of the table before you join them