To maximise the number of gorillas we want the minimum value of 30% and the maximum value of 5000
ie. 29.5% and 5499
Unitary method
29.5% = 5499
1% = 5499$\div$29.5 = 186.4068
100% = 186.4068$\times$100 = 18640.68 so 18640 gorillas (cannot round up as this is maximum).
Multipler method
29.5% = 0.295, 0.295$x$ = 5499, so $x$ = 5499 $\div$ 0.295 = 18640.68 so 18640 gorillas (cannot round up as this is maximum).