Melanie 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 18 dollars?
Show work to final answer.