I think you should replace the piping under the kitchen sink. Thank you for enclosing photos to help you understand what the problem is. The structure is too big and weighs not a little, which is not safe. If you do something wrong, you could flood the kitchen or break the drain pipes. I would not advise changing the configuration of the kitchen plumbing drain yourself but rather using the services of an experienced plumber. I know a good plumber who has changed the plumbing and heating near me, so I recommend him.