

Let number of notes of $10 = x
Total number of notes = 90
So, number of notes of $5 = 90 - x
Given, total sum = 500
10x + 5(90 - x) = 500
=> 10x + 450 - 5x = 500
=> 5x + 450 = 500
=> 5x = 500 - 450
=> 5x = 50
=> x = 50/5
=> x = 10
=> So, the number of notes of $10 = 10
=> and the number of notes of $5 = 90 - x = 90 - 10 = 80
