How do you connect logitech x 230 speakers to TV?

By using a Stereo Splitter and a Y audio cable Splitter 1-Mini Plug / 2-RCA Plugs.