student buys books that cost $10.25, pays with $20.00, gets change in quarters and 50 cent pieces, how many of each do they get?

There is no unique solution. He could get all quarters, or a mixture of coins. You are missing some information if you need a unique answer.