Amanda doubles a number, then subtracts six from the result. This leaves her with forty-two. What is the number she chose to double?

Amanda chose to double the number .

(Note: Please answer in numeric form.)