18. (6 points) Two ribbons, A and B, were originally the same length. If ribbon A is cut by 18 meters and ribbon B is cut by 12 meters, the length of ribbon B is then twice the length of ribbon A. What was the original length of ribbons A and B?
【Solution】Solution: The remaining length of A:
$$
\begin{aligned}
& (18-12) \div(2-1) \\
= & 6 \div 1 \\
= & 6 \text { (meters); }
\end{aligned}
$$

The original length of the two ribbons is: $6+18=24$ (meters).
Answer: The original length of ribbons A and B is 24 meters each.