Let the amount of shells collected by Aaron be [tex]x[/tex] and the amount of shells collected by Maria be [tex]y[/tex] respectively. Then the following system of equations should be solved:
[tex] \left \{ {{3x=y} \atop {x+8=y-6}} \right. [/tex]
First of all, express [tex]y[/tex] out of first equation:
[tex]y=3x[/tex]
Then, replace [tex]y[/tex] in second equation with found expression and solve it:
[tex]x+8=3x-6[/tex]
[tex]2x=14[/tex]
[tex]x=14/2=7[/tex]
Finally, replace [tex]x[/tex] in first equation with found value and solve it too:
[tex]3*7=y[/tex]
[tex]y=21[/tex]
So, Aaron has found 7 shells while Maria has found 21.