Given that in one baseball season, Peter (p) hit twice the number of homeruns that Mark (m) hit. This can be interpreted algebraically as shown below:
![p=2m](https://img.qammunity.org/2023/formulas/mathematics/college/j2k62f4ovoiatx0mmj750osvszi0emne23.png)
Also, given that together they hit 18 homeruns. This can be interpreted as shown below:
![p+m=18](https://img.qammunity.org/2023/formulas/mathematics/college/c68kq84nvneei1rlrk0lmfgmrrhwiagx2h.png)
Substitute p = 2m in the total home runs to know the home runs each person hit as shown below:
![\begin{gathered} p+m=18,p=2m \\ 2m+m=18 \\ 3m=18 \\ \text{divide through by 3} \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/2j9kgrr1bi09zrplwics41uqzpguu26s9a.png)
![\begin{gathered} (3m)/(3)=(18)/(3) \\ m=6 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/p49kbtc2moo2kv1dyt33ofli8nikta99ki.png)
Substitute for m in p= 2m to p as shown below:
![\begin{gathered} p=2m,m=6 \\ p=2*6 \\ p=12 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/gsnnmmflf7gp0iplgv58fp04ublsf8dxpf.png)
Hence, Peter hits 12 homeruns and Mark hits 6 homeruns