I solved this sum by trial and error method.
no of cabbage is directly proprtinal to the area.ni of cabage is C and side of square patch is X. Therefore
C kX^2
C has to be a perfect square.
now the area is increased by sum amount say Y and no of cabage is increased by 211
C+211 K(X+Y)^2
C+211 also has to b a perfect square
that means our job is to find the two perfect square whose difference is 211.
Consider the square root of first no as a+d and square root of second no is a+e where a is the base part same for the both the nos and only e is greater than d.
now as the diff between their square is 211 therefore
(a+e)^2 - (a+d)^2 211
a^2+2ae+e^2-a^2-2ad-d^ 2 211
2a(e-d)+(e^2-d^2) 211
now i have used trail and error to split 211 as 200+11 where 11 is e^2-d^2 and 200 is 2a(e-d) and i got e 6 d 5 a 100 therefore apples in his patch are 106*106 and apples in her patch is 105*105