Austin - there's only one way to get your Xbox back my friend - you have to prove to your mom that you deserve to have it back.
What you need to do is accept that she's mad because you got bad grades - and she's quite right to be mad. Now you have to show her you are determined to do some serious school work. Get a notebook and write a plan of how you are going to do your homework each week and how long you are going to spend doing this. Keep this up for one week and don't even mention the Xbox - not a word. No moaning, no bad behaviour.
At the end of the week - you show her your book and all your completed school work and ask her to let you have another chance. Stress you'll stick to your work schedule and only fit the Xbox in when your through with work.
Guaranteed to work!