I used two cars to drive Uber last year and both were under my spouse's name, but my insurance was in both cars. Can I file both cars' vehicle expense?

I used two cars to drive Uber last year and both are under my spouse's name, but my insurance was in both cars. Can I file both cars' vehicle expense for deduction?

I had to use two cars due to the repairment times for either car.