Mid Terrace extension – side regulations

Hi

We are thinking about a rear 2 storey extension to our 7 year old mid terrace. I understand we can extend 3 metres back within permitted development rules but how much space do we need to leave either side of the extension bearing in mind that both properties either side of us over lap ours at the back.

Thanks

Gary