Let J be the number of marbles owned by John, and S the number of marbles owned by Steve.
John has three more marbles than Steve, so
![J = S + 3 \iff J - S = 3](https://img.qammunity.org/2019/formulas/mathematics/middle-school/uls2mn3n37ya4qyebomax7bj137q8pidvx.png)
They have 25 marbles, so
![J+S = 25](https://img.qammunity.org/2019/formulas/mathematics/middle-school/myorinr8e7dw0tcjwj3lxld72fpq5d4ego.png)
So, we have the following system:
![\begin{cases} J - S = 3\\J + S = 25\end{cases}](https://img.qammunity.org/2019/formulas/mathematics/middle-school/kipr5hlv2zkalckxna52gqvbe7pecswtga.png)
Add the two equations side by side:
![(J - S) + (J + S) = 3 + 25 \iff 2J = 28 \iff J = 14](https://img.qammunity.org/2019/formulas/mathematics/middle-school/qxid7z1zn4cyntmooduvghqqi5vhs5pzor.png)
Since John has three more marbles, we have
![S = J - 3 = 14 - 3 = 11](https://img.qammunity.org/2019/formulas/mathematics/middle-school/6dinurrr7sbp4ifvxy8kqy0h7i09mskr56.png)