Let the given rectangle be rectangle PQRS,
According to the question,
PQ = 40m and QR = 15m
As 3m is left in both front and back,
AB = PQ -3 -3
⇒ AB = 40 -6
⇒ AB = 34m
Also,
Given that 2m has to be left at both the sides,
BC = QR -2 – 2
⇒ BC = 15 -4
⇒ BC = 11m
Now, Area left for house construction is area of ABCD.
Hence,
Area(ABCD) = AB × CD
= 34 × 11
= 374 m2