Metal table with rectangular tubes

Hello!

I am trying to make a metal table with a rectangular or square tube as legs

the problem that i have is probably on my design (i make 8 straight lines and connect them at the centrer). because i use the command but the tubes did not alied straight.

and except for that i cannot manage to trim all the 8 pcs together (like on the end) so i can laser cut them with a tube laser machine.

Can anyone please give me some advice on what i  should  do?

Or can you send me any tutorial?

Thanks

Alex

SolidworksWeldments