The first is what you want. They are equivalent. You can check the following:
1 ]=> (cons (cons 'a 'b) (cons 'c 'd))
;Value 11: ((a . b) c . d)
1 ]=> (car (cons (cons 'a 'b) (cons 'c 'd)))
;Value 12: (a . b)
1 ]=> (cdr (cons (cons 'a 'b) (cons 'c 'd)))
;Value 13: (c . d)
Remember that this is a cons cell. "Car" is the head of the list or the first half of the cons cell, and cdr is the rest of the list or the second element of the cons cell.
Another way to verify that they are equivalent:
1 ]=> '((a . b) . (c . d))
;Value 14: ((a . b) c . d)