Alexis sold half of her dolls and then bought six more dolls. She now has twelve dolls how many dolls did Alexis begin with ?

Please explain the answer and not just give the answer .