

Given, total number of currency note = 40
Let the total number of notes of Rs 10 = x
So, the total number of notes of Rs 50 = 40 - x
Total amount which lady had = Rs 1000
Now, according to question,
10x + 50(40 - x) = 1000
=> 10x + 2000 - 50x = 1000
=> -40x + 2000 = 1000
=> -40x + 2000 - 1000 = 0
=> -40x + 1000 = 0
=> 40x = 1000
=> x = 1000/40
=> x = 100/4 {1000 and 40 are divided by 10}
=> x = 25
So, the total number of notes of Rs 10 = 25
and the total number of notes of Rs 50 = 40 - 25 = 15
