What is the ideal Borough Layout

If the only thing you care about is level 2 districts then your layout should tend towards being a flat edged shape with as few corners as possible, which will cause every district within the shape except for those in the corners to be level 2. Ultimately, a complete triangle or quadrilateral is most efficient as all but 3 (or 4) of the boroughs will have levelled up.

Let's expand the example city and we'll see.

First, we build in position 2, creating the first triangle, which doesn't achieve anything (yet). If you now build 3 and 6 this will cause the city centre to level up (5 districts is the minimum to level up your first district, since one of them has to touch the other 4 to do so). Next build 8, which completes the triangle and causes positions 1 and 2 to level up. We now have 6 districts, with 3 of them levelled up.

3-side-lenght triangle In these images I'm using green for level 2 districts, orange for lvl 1.

If we now extend one edge of the triangle with another triangle, building 10, 9 and 23, this gives us a parallelogram. This causes 10 and 9 to level up, giving 9 cities with 5 levelled up.

3-side-length parallelogram

Repeat with another edge, building 4, 5 and 15 to give a trapezium. This causes 3 to level up as soon as you build 4, with 4 and 5 then levelling up when you complete 15. You now have 12 districts with 8 levelled up.

Trapezium

If you complete the last edge (adding 7, 18 and 36 - levelling up 6, 8, 7 and 18) you'll have another complete triangle of 15 districts with 12 levelled up, only the corners 14, 23 and 36 remain level 1.

5-side-length triangle

While expanding you could, if you prefer, simply keep adding rows to the triangle instead of expanding in the manner above. This is actually slightly more efficient (by at most one borough) at some stages when half-finished but the end results are the same.