What's more formal = Are you six years old? or You're six years old, aren't you?

What's more formal = You've finished the book, haven't you?