Which sentence uses the underlined word correctly?

A.
The family traveled to there cabin in the woods.

B.
The family traveled to their cabin in the woods.