Can come help me set up these problems. There two different problems.

Question 4:
Call the number of pennies [tex]p[/tex] and the number of nickles [tex]n[/tex]. We know that:
[tex]p+n=199[/tex]
and
[tex]0.01p+0.05n=7.67[/tex]
Therefore, by substitution:
[tex]p=199-n[/tex]
[tex]0.01(199-n)+0.05n=7.67[/tex]
[tex]1.99-0.01n+0.05n=7.67[/tex]
[tex]0.04n=5.68[/tex]
[tex]n=142[/tex]
[tex]p=199-142=57[/tex]
There are 142 nickles and 57 pennies.
Question 5
[tex]x+y=157[/tex]
[tex]x-y=19[/tex]
[tex]x=157-y[/tex]
[tex]157-y-y=19[/tex]
[tex]157-2y=19[/tex]
[tex]2y=138[/tex]
[tex]y=\frac{138}{2}[/tex]
[tex]y=69[/tex]
[tex]x=157-y[/tex]
[tex]x=157-69=88[/tex]
The numbers are 69 and 88.