My question involves a traffic ticket from the state of: California

Recently I was cited for doing a doughnut in an industrial area. As i was leaving i was pulled over by two cops, they carded me, made me step out of the car, searched me, put me in the back of the car and stated that he was going to impound my car. The cop then asked if i had a cell phone. i answered yes but it was still in my car. He left, opened my door, searched for my phone, read my texts, and called a friend that he believed to see in the area at the same time. (Which was true.) He then told me to get a hold of my parents in one minute or he would impound my car. After several minutes of endless phone calls the cop let me go home. He cited me for no front license plate, driving too fast for the conditions,(which makes no sense, the weather was fine), violating the provisional license since i had a friend in the car, and exhibition of speed.
I dont have my ticket on me so i cant state the citation codes.

I dont know what to do :/ help.