I'd cut the existing pipe to the length required. It looks like you have lots of room to get the job done. Or you could unscrew it and replace. If you decide to go that route please note that chrome pipes are notoriously easy to crack, so be firm, but gentle, when removing it.
Either way be prepared to replace in case it breaks, as mentioned above.