Question: if 20 of a is equal to 50 of b?
Answer: Now we know 20 is 50% of B, so B must be 20x2=40. Therefore, B is 40% of A.