It's dictated by the width of your hob and it's manual not the units below.
To other posters, please be really careful when confirming something is fine without knowing the facts. In order to comply the minimum distances in the hobs manual must be followed. In most instances this means a clearance of 50mm either side which assuming the hob is no wider than 1000mm should be fine with the above drawings. This isn't however always the case.
Op please check your hobs manual and it will dictate whether your proposal is suitable and compliant.
Note there is also a minimum height for the extractor (see below).