Answer:
Step-by-step explanation:
Aryiah and Mike spend some money. Aryiah spends 4 dollars more than what Mike spends. Both together spend 38 dollars.
Let us denote the amount spent by Aryiah with [tex]x[/tex] and the amount spent by Mike with [tex]y[/tex]. Here [tex]x[/tex] and [tex]y[/tex] are in dollars.
Aryiah spent 4 more dollars than Mike ⇒ [tex]x=y+4[/tex]
Both together spend 38 dollars ⇒ [tex]x+y=38[/tex]
Substituting first equation in the second,
[tex]y+4+y=38\\2y=38-4=34\\y=17\\x=21[/tex]
∴ Aryiah spends 21 dollars and Mike spends 17 dollars.