Hello! Thanks foro your question. The Cardinal Gates Natural Wood Step Over Gate will span both of these distances. The gate itself has an adjustable width from 28" to 51.75". You will need to purchase Step Over Gate Extensions (Search #1309820 on PETCO.com) to span this space. Each extension is sold separately. Each extension adds 22" of width to the gate. Extensions are fixed-width. First, the 7.5' space = 90". Set the gate to 46" wide then add 2 extensions (22" each) for a total of 90" in width. Second, the 8.5' space = 102". Set the gate to 36" wide then add 3 extensions (22" each) for a total of 102". There is no limit to the number of extensions that may be added to the Step Over Gate! *HINT:* Add extensions to the side of the gate with 2 holes on the end. The slotted/gate portion always stays together. The extensions just get added to the gate. The uploaded photo shows a white Step Over Gate + 2 extensions. Both extensions are on the right of the gate (seen left). Enjoy your Step Over Gate!
White Step Over Gate (left) plus 2 extensions attached (right)