She bought:
10 rupee cards: x
5 rupee cards: 2/3 x
15 rupee cards:1/5 x
So the equation is
10x + 5*(2/3 x) + 15(1/5 x) = 245
So
x = 15
10 rupee cards: 15
5 rupee cards: 10
15 rupee cards:3