Answer:
![x+x+2=30](https://img.qammunity.org/2020/formulas/mathematics/middle-school/5epewgb97vleajdp4j11g0ld0i4ow13z9r.png)
Explanation:
Let the pennies be represented by = x
Let nickels be represented by = y
Mary Lou has 2 more nickels then pennies.
We get
![y=x+2](https://img.qammunity.org/2020/formulas/mathematics/middle-school/7o0j5bar16eg6comdurt36hmay8o15b837.png)
Also given that she has 30 coins all together.
![x+y=30](https://img.qammunity.org/2020/formulas/mathematics/high-school/7rultyl1nwo82b847qorw1twbo7ngheyko.png)
Substituting y here, we get the requires equation as:
![x+x+2=30](https://img.qammunity.org/2020/formulas/mathematics/middle-school/5epewgb97vleajdp4j11g0ld0i4ow13z9r.png)
Now, solving this we will get the value of x.
![2x+2=30](https://img.qammunity.org/2020/formulas/mathematics/middle-school/jyyw7iagtm8b5jvix5aswjj3w2mzmyobn9.png)
![2x=28](https://img.qammunity.org/2020/formulas/mathematics/middle-school/poz6v82iigwn8lzygq45urpcv0xjn9z30q.png)
x = 14
And
![y=30-14=16](https://img.qammunity.org/2020/formulas/mathematics/middle-school/4nmth5pxoou62odupnybbqzmlg716cf0qz.png)
So, there are 14 pennies and 16 nickels.