Let the no. of one dollar bills be x and the no. of five dollar bills be y.
She has 14 bills = > 1st equation => x+y=14
The value of the bills are $30 = > 2st equation => ($1)x + ($5)y = 30
Simultaneous equations :
x + y = 14 => x = 14 - y
x + 5y = 30
Sub x = 14 - y into x + 5y = 30 ,
ie. (14 - y) + 5y = 30 => 14 +4y = 30 => 4y = 16 => y=4