Escape velocity is given by ve​=R2GM​​.Using g=R2GM​, we get GM=gR2.Therefore, ve​=2gR​.For planets A and B, vB​vA​​=gB​RB​gA​RA​​​.Given vB​vA​​=21​ and RB​RA​​=31​.Squaring both sides gives gB​RB​gA​RA​​=41​.Hence gB​gA​​=41​×RA​RB​​.Since RA​RB​​=3, gB​gA​​=41​×3=43​.Thus the required ratio is 43​, so the correct option is option D.