To access the cdr, we have to use the cdr function.
(cdr (cons a b))
b
Also we can verify the following equality:
(eq? b (cdr (cons a b)))
#t