First place to start is with the local council. A lot will depend on the zoning of the land as to whether two dwellings are permitted. If so, they can advise of requirements.
At the very least, you will probably require a fireproof wall between sections.
Marg