Open the machine and look at each cable, where it starts and where it ends.
Now figure out the best way to route it and where your going to hide the excess.
Try to run cables in parallel and then tie them into a bundle.
If you have add on cables that are too long perhaps you can buy a shorter one.