I can’t help you with this. Buying a car with a faulty transmission comes with a number of risks and I cannot recommend it.
If you do want to buy one, be sure to do a thorough inspection and consult with a professional mechanic before making a decision.