If you have a two-part V5 registration document, fill in the red section (complete with the details and signature of the motor trader), send it to the DVLA via post or fill out the online DVLA form on their website and give the rest of the document to the motor trader.