----------------------------------------------------------
Let define x
----------------------------------------------------------
Let the number of flashcards that Macey has be x.
Macey = x
Mikey = 5x - 12
Mike has 238 flashcards.
----------------------------------------------------------
Construct the equation and solve x.
----------------------------------------------------------
5x - 12 = 238
----------------------------------------------------------
Add 12 on both sides.
----------------------------------------------------------
5x = 250
----------------------------------------------------------
Divide by 5 on both sides.
----------------------------------------------------------
x = 50
----------------------------------------------------------
Find the number of cards Macey has.
----------------------------------------------------------
Macey = x = 50
----------------------------------------------------------
Answer: Macey has 50 flashcards.
----------------------------------------------------------