sorry there is mistake in above answer. So here is the correct explanation for this
We can apply AM>or=GM here
so for finding max value of ab
(a+2b)/2>or=(2ab)1/2
32>or=2ab
ab
and for finding max value of a2b
we have write a+2b=a/2+a/2+2b
now (a/2+a/2+2b)/3>or=(a2b/2)1/3
23>or=a2b/2
so a2b4 so max value of a2b is 24sorry there is mistake in above answer. So here is the correct explanation for this