Solution:
we are given that
A student has some $1 and $5 bills in his wallet.
Let there x $1 bills and y number of $5 bills.
He has a total of 14 bills that are worth $34.
So we can write
![x+y=14](https://img.qammunity.org/2019/formulas/mathematics/high-school/werujmxqq1j7kl36sqdnz2dnh2mev1eues.png)
![x+5y=34](https://img.qammunity.org/2019/formulas/mathematics/high-school/7k6p0jhoxwbjl35os3ipbdd2eua1pt5kc7.png)
Now solve these two equations together using substitution as follows
![14-y+5y=34\\ \\ 4y=34-14\\ \\ 4y=20\\ \\ y=5\\ \\ x=14-y=14-5=9\\](https://img.qammunity.org/2019/formulas/mathematics/high-school/s24sk5w2tl00eicvue83cor0hbmyl5p1jo.png)
Hence there are 9 $1 bills and 5 bills are of $5.