From your picture, appears the second row of connections is correct with ground on the first connection (towards the top of picture). With output next and input the bottom connection.
If that is true and working correctly from that speaker, then connect the other in the same fashion, Ground, Output and Input.
If that is true and working correctly from that speaker, then connect the other in the same fashion, Ground, Output and Input.