I would leave if I could.
I would have left if I could --the same form of "could"
I would have left if I could have used the car.
Is that correct? Is the first example of 3rd conditional correct, i.e. using the same form of the modal as the second conditional?