Only 8k? Are you sure? There is a lot to legalizing a home to current two family standards. Like the ceiling height and glazing standards, for one. Mother/daughters in Queens usually mean the basement has been 'finished out' to what would normally be considered livable, but according to code is not- again, the height and glazing standards.
Most importantly, the area must be zoned for two family. Is it?