Jeremy and Caitlin collect baseball cards. The ratio of Jeremy’s cards to Caitlin’s cards was 9 to 3. After Jeremy gave 12 cards to Caitlin, they had an equal number of cards. How many cards did Caitlin and Jeremy have at first? Explain.

j = 3c

j-12 = c+12
now just solve as usual; probably using substitution