Sandy spent half of her allowance going to the movies. She washed the family car and earned 6 dollars. What is her weekly allowance if she ended with 12 dollars?