The larger (6 gauge?) red cable to the larger stud, and the smaller (12 guauge?) brown cable to the smaller stud.
If it's a factory cable it should be a molded connection only going on one way.
Did I misunderstand your question?