As she has 25 notes in total. then the number of Rs. 10 notes = 25 - (3x + 5x) = 25 - 8x
Given, Total money = Rs. 590
According to the question,
3x × 50 + 5x × 20 + 10 (25 - 8x) = 590
Or, 150x + 100x + 250 - 80x = 590
Or, 170x = 340
Or, x = 2
Hence, the number of Rs. 50 notes = 3 × 2 = 6
The number of Rs. 20 notes = 5 × 2 = 10
The number of Rs. 10 notes = 25 - 8 × 2 = 9