I have two cables one with red and black wires and one with red yellow and white

Solution
Red-and-black wire is usually used for speakers, to be connected to an amplifier. Red-White-Yellow is the cable used to connect audio-video equipment, video signal (yellow) and stereo (white-red).

So, unless we know what you're trying to connect, as @Scottray asked, we'll be of little help.
Red-and-black wire is usually used for speakers, to be connected to an amplifier. Red-White-Yellow is the cable used to connect audio-video equipment, video signal (yellow) and stereo (white-red).

So, unless we know what you're trying to connect, as @Scottray asked, we'll be of little help.
 
Solution