I'm not quite sure what I'm looking at, but will try to deduce.
Look at this link for standard trailer wiring colors:
https://en.wikipedia.org/wiki/Traile..._North_America
on your flat four vehicle side, the colors match what I'm used to seeing:
Yellow - left turn/brake
green - right turn/brake
brown - tail lights
white - ground
a 6-way rectangular has these:
yellow - left turn/brake
green - right turn/brake
brown - tail lights
white - ground
red - aux power
blue - electric brakes.
Hooking a 4 pin TV connection to a 6-pin TT connector won't give you battery charging or electric brakes while towing.
The picture of the yellow spliced into the red isn't a good idea.
I would suggest starting over and build a new pig-tail (the "technical" term for what your picture shows).
What is your tow vechicle and what type of connectors does it have? most new vehicles have both a flat four connector and a 7-pin connector.
What does the 6 pin side of your pig-tail plug into? what are those wire colors?
We can do this without going to a service center!!