Can I deduct my mileage?

For work I used my personal vehicle, the majority of the job consisted of driving. They paid me 8.75 per hr of driving. For gas they took the miles you drove times 17 and the remaining number would be the amount of gas you were allowed in gallons. Can I still claim the miles I put on my car? I put over 5,000 miles on my personal vehicle for this job.