How do I connect Logitech Z506 (5.1 surround) system to a Digital Coaxial SPDIF on my android player (MXQ Pro) --Pics Inside

looks like the outputs on the player are either spdif or hdmi correct?

you would need a 6ch audio extractor. a hdmi model would be ideal. hdmi input, 6ch analog output, hdmi output (passthrough) to the tv or monitor.

spdif optical is another option but please verify that your player supports 6ch audio from optical not just 2.0 beforehand. if it does then something like you linked should work too.