Area of first group=Area of △ABC
Area of second group=Area of △ADC
Total Area=Area of △ABC+Area of △ADC
Area of △ABC
Since AB=9m and BC=40m∠B=90∘
Then △ABC is a right angled triangle.
Area of △ABC=12×base×height=12×40×9=180m2
Area of first group=Area of △ABC=180m2
Area of △ADC
Area of triangle=√s(s−a)(s−b)(s−c)
Here s is the semiperimeter=a+b+c2=28+15+c2
Since ∠B=90∘
Applying Pythagoras theorem in △ABC
AC2=AB2+BC2
⇒AC=√AB2+BC2=√92+402=√81+1600=√1681=41m
Thus,AC=41m
∴c=41m
s=a+b+c2=28+15+412=842=42m
Area of △ADC=√41(42−28)(42−15)(42−41)m2
=√14×3×14×9×3m2
=14×9=126m2
Thus,Area second group=Area of △ADC=126m2
Area of first group=Area of △ABC=180m2
So,first group cleaned=180−126=54m2
Total area cleaned by all the students=Area of △ABC+Area of △ADC
=180+126=306m2