Let x be the number of cows
Let y be the number of days they stay
Let z be the daily consumption of each cow
Let C be the growth rate of the grasses in each m^2
Let A be the area of the yard
therefore,
XYZ=A+AYC
10x20xZ=1200+24000C (1)
15x10xz=1200+12000C (2)
(2)x2
300z=2400+24000C (3)
(3)-(1)
100z=1200
z=12
Let x=10,y=20,z=12 substitute (1)