Well, the first one is designed to split a 3.5mm signal into 2. For example, you could use it to connect a single iPod to 2 different sets of headphones.
I believe the second one is what you are looking for. It allows you to connect RCA jacks to a 3.5mm socket.
If the cables look like that, then yes. Number 2 is what you are looking for.