Rewrite each sentence in reported speech. Use the word in brackets.
"If I were you, I would buy the car," he said to me. (advise)
A.He advised me for buying the car.
B.He advised me to buy the car.
C.He advised me buying the car.
D.He advised me to buying the car.