Cindy went to the carnival with her family. She paid $8 for every 10 rides she rode. She spent a total of $25 on rides. Which equation can be used to determine r, the number of rides Cindy rode at the carnival?