6. (5 points) In a store, there are three baskets of apples, A, B, and C. The number of apples in basket C is twice the number of apples in basket A. If 12 apples are taken from basket B and put into basket A, then at this point, basket A has 24 fewer apples than basket C, and basket B has 6 more apples than basket C. How many apples were originally in basket B? $\qquad$
【Analysis】According to the problem, "If 12 apples are taken from basket B and put into basket A, then at this point, basket A has 24 fewer apples than basket C, and basket B has 6 more apples than basket C," it means that originally, basket A had $(12+24)=36$ fewer apples than basket C. Given that originally, basket C had twice as many apples as basket A, we can determine the original number of apples in baskets A and C. We also know that originally, basket B had $(6+12)$ more apples than basket C, which allows us to find the original number of apples in basket B.

【Solution】According to the problem,
Originally, basket A had $(12+24)=36$ fewer apples than basket C,
And originally, basket C had twice as many apples as basket A,
So originally, basket A had: $36 \div(2-1)=36$ apples,
Originally, basket C had: $36 \times 2=72$ apples,
Originally, basket B had: $72+(6+12)=90$ (apples)
Answer: Basket B originally had 90 apples.
Therefore, the answer is: 90.