first strand has 20% A, 30%T and 40% C so G would be 100-A-T-C = 100-20-30-40 = 100-90 = 10
so on first strand we have G as 10 % and now complementary strand would have C coupled with G so if G is 10 % C which couples with it would be 10 % as well.
actually its also A=T and G=C in complementary strands
and these are percentages given and A+G of one strand would be equal to T+C of the other not the same strand