"If you passed your test, I would buy you a car"<br/><br/>"He said that if I passed my test he would buy me a car"<br/><br/>Is it correct?<br/><br/>Thank you