20 ........... 100%
8 ..................X%
X = 8×100/20 = 800/20 = 40%
20 ... 100%
8 ... x%
x=8×100/20=800/20=40%