Assuming you have to leave 1m between dwelling and a boundary, have you considered the following:
1. Build a big house that is up to 16m wide and has its own street frontage.
2. Build a granny flat that is 5m wide and 12m deep and also having its own street frontage.
3. Put a fence roughly...