Answer:
The required system of equations is:
![m+f = 30\\m = f+4](https://img.qammunity.org/2021/formulas/mathematics/high-school/ve701ya5j7hk35g0pvg519dmy3q8nf56sl.png)
Explanation:
First of all, the variables have to be selected to represent the quantities.
Let m be the number of male friends and let f be the number of female friends.
Then according to first statement "John has 30 friends"
![m+f = 30\ \ \ \ Eqn\ 1](https://img.qammunity.org/2021/formulas/mathematics/high-school/ctwp34cbqb0d7jxs584mpkzjzzp4frtuqy.png)
And according to second statement "amount of male friends is 4 more than the number of female friends."
![m = f+4\ \ \ \ Eqn\ 2](https://img.qammunity.org/2021/formulas/mathematics/high-school/n0fy78plp36d81of4q41cb71r3zkd14jm2.png)
Hence the required system of equations is:
![m+f = 30\\m = f+4](https://img.qammunity.org/2021/formulas/mathematics/high-school/ve701ya5j7hk35g0pvg519dmy3q8nf56sl.png)