I used my personal car on tge first 6 months and a rental car on the last 6 months, how do i account for expenses?

How do i accpunt for 6 months using my own car and the other 6 months using car rental?