How do you title a home-built car? Where do they get the VIN?

it's a '31 A roadster on deuce rails with a '57 Olds 371.