The two lenses are the AFS 35mm f1.8 at f2.8 and the AFS 18-55mm at f5.6
D5100 AFS 35mm f1.8
D3200 AFS 35mm f1.8
D5100 AFS 18-55mm
D3200 AFS 18-55mm
The D3200 charts have been down sampled to the same size as the D5100. The nearly two line pair increased resolution of the D3200 is significant. But these are 100% crops. Normal viewing size photos are pretty close between the two.
Look at the charts. Column 0 #5 is equal to 80 LPMM. The D3X will seldom exceed this resolution. The smallest pairs, column I #1 is equal to 100 LPMM and #2 is equal to 112 LPMM. This puts the resolution of the D5100 and D3200 extremely high which is both equal and then higher resolution that the D800. That makes both of these cameras real winners whichever you buy.